Hello . I don’t understand why I give an error to the triggers if I add "- platform: template " The template itself is working.(check photo)
I add the trigger code and have error “Unknown trigger errors” .
I would be grateful for the options
Thanks`
- id: Гаряча вода
alias: "Гаряча вода - нагрів по реальній температурі"
mode: restart
triggers:
- platform: state
entity_id: input_boolean.hot_water
to: "on"
- platform: state
entity_id: input_boolean.hot_water
to: "off"
- platform: template
value_template: >-
"{{ (states('sensor.bolernaj_hot_water') | float - states('input_number.desired_hot_water_temp') | float) >= 1 }}"
condition: []
action:
- choose:
- conditions:
- condition: state
entity_id: input_boolean.hot_water
state: "on"
sequence:
- service: switch.turn_on
data:
entity_id: switch.bolernaj_power


