Mobile notifications not working

Im setting up a test with android and a simple door contact running on an esp32. I have confirmed that the contact is changing state and can see that state change reflected with a entity card on HA dashboard, yet still no mobile notification.

This is what I have

  - alias: 'tree lamp notification'
      platform: state
      entity_id: door2
      to: 'open'
      - service: notify.mobile_app_SM-G973F
          title: "Lights"
          message: "The tree lamp is on"

Any ideas? Thanks

that is not a valid service name, they should be all lower case and no dashes. Look up the correct service name under the developer tools > services tab.

I am only seeing a notification for iPhones, nothing shows for android even though the device is an enabled entity.

For what it’s worth, mine is broken too lately

All my node-red and hass automations using notifications no longer display notifications on my android phone. Even calling the service from Developer Tools succeeds, but nothing makes it through to the phone:

service: notify.mobile_app_lizzie_6
  message: Test Message
  title: Test title

I’ve already checked the app’s notification settings in Android.

Do you happen to see anything in logs? How are you triggering this, are you using a automation because I can see nothing in my logs to even show that the automation is being triggered.

I’m using home assistant automations, I’m using node-red, and I’m using the Services tab under Developer Tools. None of them error out. There is nothing in the logs. These are all methods that used to work just fine for me.

Nothing has changed on my android app or my phone either :woman_shrugging:

Further, looking in notifications history it looks like they stopped at the beginning of the month.

I think what’s really important here is, did you remember to take your allergy meds when the notifications stopped?

Ok, so I think I found the issue.

I added

automation: !include automations.yaml

to my configuration.yaml and now notifications work. Also now added automations actually also display in the UI which they werent before. It seems that this line has fixed a few issues with my automations not working or displaying correctly.