mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 08:28:12 +01:00
023cb4937e
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
16 lines
290 B
YAML
16 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
|