What event I should listen to when user arrives or leaves a zone?

I was looking at this thread: Zone as trigger with the new iOS tracker

and thought I’d need some like this but implemented in AppDaemon way:

trigger:
- platform: zone
  entity_id: device_tracker.iphone_7_plus
  zone: zone.Sjofartsverket
  event: leave
action:...

I’ll give what you suggested a try, thanks!

1 Like