mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
24 lines
460 B
YAML
24 lines
460 B
YAML
|
uart:
|
||
|
- id: uart_sm300d2
|
||
|
tx_pin: 4
|
||
|
rx_pin: 5
|
||
|
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
|