mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 11:56:25 +01:00
20 lines
472 B
YAML
20 lines
472 B
YAML
|
uart:
|
||
|
- id: uart_senseair
|
||
|
tx_pin: 4
|
||
|
rx_pin: 5
|
||
|
baud_rate: 9600
|
||
|
|
||
|
sensor:
|
||
|
- platform: senseair
|
||
|
id: senseair0
|
||
|
co2:
|
||
|
name: SenseAir CO2 Value
|
||
|
on_value:
|
||
|
then:
|
||
|
- senseair.background_calibration: senseair0
|
||
|
- senseair.background_calibration_result: senseair0
|
||
|
- senseair.abc_get_period: senseair0
|
||
|
- senseair.abc_enable: senseair0
|
||
|
- senseair.abc_disable: senseair0
|
||
|
update_interval: 15s
|