sensor:
  - platform: adc
    id: adc_sensor
    pin: ${adc_pin}
  - 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: ${output_pin}
