esphome/tests/components/sm300d2/test.esp32-ard.yaml

24 lines
462 B
YAML
Raw Normal View History

uart:
- id: uart_sm300d2
tx_pin: 17
rx_pin: 16
baud_rate: 9600
sensor:
- platform: sm300d2
co2:
name: SM300D2 CO2 Value
formaldehyde:
name: SM300D2 Formaldehyde Value
tvoc:
name: SM300D2 TVOC Value
pm_2_5:
name: SM300D2 PM2.5 Value
pm_10_0:
name: SM300D2 PM10 Value
temperature:
name: SM300D2 Temperature Value
humidity:
name: SM300D2 Humidity Value
update_interval: 60s