I can’t seem to get this to work. I am trying to make a binary sensor template to show whether the Fan attribute for an Ecobee thermostat is on. In other words, I want a sensor that will tell me if the fan on the furnace is running. I’ve tried several variants of the following:
binary_sensor:
- platform: template
sensors:
furnace_fan_living_room:
friendly_name: Fan Running
device_class:
value template: "{{ is_state_attr('climate.entryway' ,'fan' ,'on') }}"
Thanks all. The missing underscore in value_template was the problem. I must have dropped it accidentally when trying different variations.
The configure checker in the File Editor was telling me that the original formulation was ok. Not sure why. It gave me errors for a bunch of other variations.