mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 17:47:51 +01:00
023cb4937e
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
17 lines
290 B
YAML
17 lines
290 B
YAML
sensor:
|
|
- platform: adc
|
|
pin: GPIO36
|
|
id: adc_sensor
|
|
|
|
- platform: gp2y1010au0f
|
|
sensor: adc_sensor
|
|
name: Dust Sensor
|
|
adc_voltage_offset: 0.2
|
|
adc_voltage_multiplier: 3.3
|
|
output: dust_sensor_led
|
|
|
|
output:
|
|
- platform: gpio
|
|
id: dust_sensor_led
|
|
pin: GPIO32
|