Notification Iphone

Hello everyone,

I use the command “notify.mobile_app_iphone” to send notifications on my iPhone. It works very well, but I’d like to improve this system a bit:

When I click on a notification, I’d like it not to open the Companion app. (There’s no point in opening Companion when clicking on a notification that the dishwasher has finished its cycle.)

Thanks in advance for your answers and help.

use “noaction”. not sure how its done but here are docs and example i make below may work

automation:
  - alias: "Send notification with no action on click"
    trigger:
    action:
      - service: notify.mobile_app_your_iphone_name # Replace with your device name
        data:
          title: "Important Update"
          message: "This notification will do nothing when tapped."
          data:
            url: noAction 
            actions: 
              - action: "ACTION_ID"
                title: "Do something specific (long-press required)"

Long press notification. If there is photo/video it will open in large screen but not open app

swipe away notification. this will remove notification.

Use tags. if you add a tag to notification it will be updated when new notification recieved.
example. if “dish” is tag. you can have notification for started wash and finish wash. if both use “dish” tag when when finish wash notification receive it will replace started notification. This will reduce the list of notficaiton for same item.

Hi,
Thanks for your reply. According to the documentation, ‘noAction’ only works with Android.