I have an automation for the heating that uses the home zone (it needs to be zero) but my son has a mobile that is tracked in hassio so its always 1 even when we all leave the house - can i exclude this device ?
Make it need to be one?
Hassio has not existed four over four years. It is now HA OS.
my mistake home assistant, it needs to be 0 as sometimes one of us will be in - if that makes sense ?
You could use a template sensor that basically excludes his device:
{% set zone_is_home = iif(is_state('device_tracker.son_phone', 'home'), (states('zone.home')|int) - 1, states('zone.home')) | int %}
{{ zone_is_home }}