@balloob Is there an API in Home Assistant to list all the zones? I'm interested in adding geofence support into my iOS app, overland.p3k.app but I don't really want to make an interface for configuring geofences, and thought I might be able to pull them from HA.

Jul 14, 2018 · 11:36 PM UTC

1
Replying to @aaronpk
Just fetch the states. All zones are stored as states under the zone domain. The default one is zone.home, others can be added in UI via integrations panel or via configuration.yaml
1