Is there anyway to push a notification to IOS for something like a door left open, but if that condition changes (Door closed,) pull that notification back (or push a notification acknowledgement/silence etc?) I’m sure this is 100% an apple API driven question, not sure if such a thing is even possible.
Yes, you need to add a tag
to your first notification. You can then clear the notification using the same tag and the message clear_notification.
Example:
automation:
- alias: "Notify of Motion clear notification"
trigger:
...
action:
- service: notify.mobile_app_<your_device_id_here>
data:
message: "clear_notification"
data:
tag: "backyard-motion-detected"
More details are in the companion docs: