Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95354

Help with binary sensor not changing

$
0
0

@Jamie_Pryer wrote:

hey all,

Home Assistant 0.101.2

i have an evohome rad and when its “heating” i want a new binary sensor to be “on” otherwise, it should always just be “off”

i have the following setup, which works as a template, but the binary sensor is not changing?

from config.yaml

  - platform: template
    sensors:
      rad_boolean_jamie_office:
        friendly_name: "Radiator Boolean Jamie Office"
        value_template: >
          {% set rad_status = states.climate.jamie_office.attributes.hvac_action %}
          {% if rad_status == "heating" %}
            on
          {% else %}
            off
          {% endif %}

in the template = “on”
however the sensor still shows “off”

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>