34 lines
945 B
YAML
34 lines
945 B
YAML
esphome:
|
|
name: "esp32-ard-notime"
|
|
|
|
external_components:
|
|
- source:
|
|
type: local
|
|
path: ../components
|
|
components: ["truma_inetbox", "uart"]
|
|
|
|
esp32:
|
|
board: esp32dev
|
|
framework:
|
|
type: arduino
|
|
|
|
uart: !include test.common.uart.yaml
|
|
truma_inetbox:
|
|
uart_id: lin_uart_bus
|
|
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."
|
|
binary_sensor: !include test.common.binary_sensor.yaml
|
|
button: !include test.common.button.yaml
|
|
climate: !include test.common.climate.yaml
|
|
number: !include test.common.number.yaml
|
|
sensor: !include test.common.sensor.yaml
|
|
switch: !include test.common.switch.yaml |