Notification automation not working

I have the following in my automations.yaml file but whilst it says it has been “Last Triggered” correctly, no notification appears anywhere. I added the last 4 lines (notify.notify) just now to see if that made it work, but no change.

I have checked my iPhone Notifications settings (both the OS and the HA app) and all notifications are turned on - but nothing arrives. I have also checked that the off/on states are correct for the Shelly switch within Developer Tools, and that bit is working fine.

Where might I be going wrong? TIA.

- id: '164123442724'
  alias: NOTIFICATION - Gate Button  Opened
  description: ''
  trigger:
  - platform: state
    entity_id: switch.shelly1_a4cf1xyzf9e
    from: 'off'
    to: 'on'
  condition: []
  action:
  - service: notify.mobile_app_myiphone
    data:
      message: Gate Button set to OPEN
  - service: notify.notify
    data:
      message: Gate Button
  mode: single

Somthing might have broken this. i had one that was working and has now stop but if i test by calling the service it works

2 Likes