I have a few old automations that are designed to unlock my front door, or open my garage door, depending on how I leave. If I ride my bike or car, it opens my garage, if I leave via front door, it opens the front door. Pretty simple. Except!!! I did this in pieces, so it’s 2 separate automations. One detects my phone entering the “home zone”, the other detects an event firing (iOS triggered the event via ‘shortcuts’)
There is now “zone based” automations, and there is also my “person entity”. So the way I see it, I have 3 different ways to tell when I come home:
-
My phone’s gps enters the ‘home zone’
-
My HA ‘person’ state changes from ‘away’ to ‘home’
-
My phone’s shortcut app fires an event that is detected.
I feel like #1 and #2 are the same, no? I only have one device linked to my person entity, and it’s my phone. Is there any difference in this case? Is there a preferred choice?


Yeah, the home zone is somewhat… different Zones
I do most of my config in yaml and all the zones are configured in a separate file, however, the home zone has (had? I’ve not checked in years) to be configured in configuration.yaml under the
homeassistant:section.You should be able to do something like:
homeassistant: latitude: 12.3356 longitude: 1.23456 radius: 50If you’re configuring zones from the UI, I think editing the file should still work.
I’m new to HA so let me make sure I understand. Are you saying that setting up zones in the UI isn’t enough to get them to work?
I’m from ye olden times, when everything was done in the yaml configuration files - so I prefer that approach.
The zones you create from the UI, work fine.
It’s just that the default “
home” zone appears to have some quirks that can only be set fromconfiguration.yaml