Definitive guide to automations and iOS notifications?

I am trying to set up a simple automation that will notify me when I enter or leave a zone so I can move onto more advanced automations.

But I haven’t had any luck getting even a basic push notification automation to work and I see so much differing info in the forum posts.

I have location tracking working properly. HASS knows when I’m entering and leaving my home zone. The notification option in the iOS app updates me when I enter and leave. But I cannot get an automation to send a push notification working.

My automation looks like this:\

alias: NotifyWhenHomeZone
trigger:
  platform: zone
  entity_id: device_tracker.jiphone
  zone: zone.home
  # Event is either enter or leave
  event: enter
action:
  service: notify.ios_JiPhone
  data:
    title: "Jay Arrive Home Zone!"
    message: "I'll be surprised if this works!"

Is that correct? Am I missing anything else? for the notify.ios.JiPhone I’m using the device ID from the ios.conf.

I think I got this figured out. The problem lay with the fact that I added ID tags to each of my automations to play with the built-in automation editor.

Once I removed the ID tags to revert to manually editing the automations.yaml things started working properly.