Everyone is setup on the app.
Kids lights turn off via automation when they leave etc.
How can I create a shared entity that the husband OR wife is home to use for similar functionality? Prefer UI for maintenance…
Thanks
e
Everyone is setup on the app.
Kids lights turn off via automation when they leave etc.
How can I create a shared entity that the husband OR wife is home to use for similar functionality? Prefer UI for maintenance…
Thanks
e
Template Binary sensor Helper.
Use the following in the “State template” field:
{{ is_state('person.husband', 'home') or is_state('person.wife', 'home') }}
A more general purpose data point is the state of zone.home
. A zone’s state reflects the number of known person
entities that are in the zone, so an “Is anybody home?” template would be:
{{ states('zone.home') | int(0) > 0 }}
Thanks - that’s perfect.