So I been trying bunch of stuff to get the sensor “home value” in the condition, but it’s deasn’t work at all, what am I doing wrong? How do I get my home_value?
Configs:
sensor:
- platform: template
sensors:
home_value:
friendly_name: "Home value"
value_template: "{{ 1 }}"
automation:
condition:
- condition: template
value_template: "{{is_state_attr('sensor.home_value', 'home_value', 0)}}"