Hi,
I’m trying to create a True/False sensor to determine if anybody is at home.
In the below code I would like to change the state of the “nobody_home” sensor to True when the sensor is 0. What am I missing?
nobody_home:
value_template: "{{ sensor.people_at_home | int = 0 }}"