Zones Not Showing In HASS Map

I am using the HA app on iOS and have that tracking my location for my Home Zone just perfectly. I am having an issue with other zones though. I am using a zones.yaml which looks like this.

- name: Home
  latitude: redacted
  longitude: redacted
  radius: 150
  icon: mdi:home
- name: Work
  latitude: redacted
  longitude: redacted
  radius: 150
  icon: mdi:apple
- name: Work
  latitude: redacted
  longitude: redacted
  radius: 150
  icon: mdi:gamepad-variant

However, none of these zones show up on the map in HASS nor are they being tracked by the iOS app. I don’t know if it’s pulling the home location from my lat and long in the config.yaml file and ignoring the first one in the zones.yaml or if I actually need to specify zone 1, zone 2, zone 3,etc.

Can someone explain to me what I’m doing wrong? Thanks.

Just in case anyone else has the same issue, I figured it out.

I went into my zone.yaml file and added a space in between each zone so it looks like this.

- name: Home
  latitude: redacted
  longitude: redacted
  radius: 150
  icon: mdi:home
  
- name: Work
  latitude: redacted
  longitude: redacted
  radius: 150
  icon: mdi:apple
  
- name: Work
  latitude: redacted
  longitude: redacted
  radius: 150
  icon: mdi:gamepad-variant

After putting that in, the zones are now correctly working.

3 Likes