I’m struggling w/ the syntax of this Yaml. Everything works except when I try toadd the template condition. I’ve tried all kind of ',", combinations etc. Sometimes I really hate yaml. I know my condition evaluates correctly in the dev tools template tester.
text_sensor:
#get these object values from home assistant
- platform: homeassistant
id: hvac_action
entity_id: climate.dev_wood_pellet_stove
attribute: hvac_action
on_value: # When value simply changes
then:
- while:
condition:
and:
- binary_sensor.is_on: p5z
- text_sensor.state:
id: hvac_action
state: 'idle'
- condition: template
value_template: '{{float(states("sensor.esph_dev_stove_pipe_temp") , 0) >= 250}}'
then:
- switch.turn_on: p5_indicator