esphome-truma_inetbox/tests/test.common.truma_inetbox.yaml
2023-03-20 13:49:13 +01:00

13 lines
436 B
YAML

uart_id: lin_uart_bus
time_id: esptime
cs_pin: 5
fault_pin: 18
# Advanced users can use `on_heater_message` action. The heater data is in the `message` variable.
on_heater_message:
then:
- logger.log: "Message from CP Plus."
- if:
condition:
lambda: return message->operating_status == truma_inetbox::OperatingStatus::OPERATING_STATUS_OFF;
then:
- logger.log: "Heater is off."