Hi All - Been scratching my head over this one for a couple of days now so any help gratefully appreciated:
I have the following automation trigger template which works:
{{ states('sensor.temperature')|float(0) > 35 or
states('sensor.temperature')|float(0) < 1 }}
I then have a condition to determine if the value is above or below the trigger value. This always returns false irrespective of trigger value.
{{states('trigger.to_state.state') | float(0) > 35 }}
For some reason the trigger value is not being evaluated by the condition template.
1 post - 1 participant