Hey all, I’ve found a workaround by using Template Sensor instead of Template Binary Sensor but for whatever reason when I set up the Template Binary Sensor this way, it doesn’t update…
binary_sensor:
- platform: template
sensors:
driveway_motion:
friendly_name: "Driveway Motion"
entity_id:
- sensor.zooz_unknown_type_0001_id_0005_burglar
value_template: >-
{{ states.sensor.zooz_unknown_type_0001_id_0005_burglar | int > 0 }}
Instead I’m doing this which updates and works totally as expected:
sensor:
- platform: template
sensors:
driveway_motion:
friendly_name: "Driveway Motion"
entity_id:
- sensor.zooz_unknown_type_0001_id_0005_burglar
value_template: "{% if states('sensor.zooz_unknown_type_0001_id_0005_burglar') | int > 0 %} on {% else %} off {% endif %}"
Not sure what to make of that, but thought I’d share in case anyone can tell me what I did wrong.
Long time lurker, first time poster Thanks!