struggling with an automation condition that is a template. there have been many iterations, the code below is just one of my failures
originally in a non-template version {{ states(‘climate.kitchen’) == “heat” }} is true
but
- if:
- condition: not
conditions:
- condition: template
value_template: "{{ states(trigger.entity_id) == "heat" }}"
gives a “template value should be a string” error
what silly mistake am I making ?