I am not sure when, but a few days ago, my notifications stopped working. I did not change anything. I have multiple notifications configured and none of them work.
Here is the example of one of my notifications. Can someone help me with this?
alias: 'Notification: Coffee Maker was turned on'
description: ''
trigger:
- entity_id: switch.coffee_maker_s31
from: 'off'
platform: state
to: 'on'
condition: []
action:
- service: notify.notify
data:
message: Coffee Maker is ON
title: Home Assistant Notification!
mode: single
Thank you for the suggestion, but I have the same spacing. For some reason, it did not copy correctly here.
I am beginning to think that it is not the code. I have two phones that used to receive notifications, and it stopped on both of them. I cannot even trigger notification from the Developer Tools → Services section.
At the same time, I know that the problem is not with our phones. I have another HA, and notifications from that device arrive on our phones. Both my HAs have the same updates.
My HA Cloud is not enabled, and I do not have anything there. I have never had it enabled and it worked previously, and it still works from my second HA.
I have the same issue as onlize mentioned. My automations.yaml looks very similar to above.
alias: Occupancy Test
description: Detect motion and notify
trigger:
- platform: state
entity_id: binary_sensor.staircase_zooz_sensor_2_home_security_motion_detection
from: "off"
to: "on"
- platform: state
entity_id: binary_sensor.staircase_zooz_sensor_upper_home_security_motion_detection
from: "off"
to: "on"
condition:
- condition: time
after: "21:30:00"
before: 03:00
action:
- service: notify.mobile_app_NAME_OF_MY_IPHONE
data:
message: Motion Detected
mode: single
(Just to confirm, I was testing this after 21:30 and tested it again with the time condition disabled.)
It was working fine for more than a year. I upgraded my iPhone to iOS16 and updated the home assistant to the latest version (as of Nov 26, 2022). All notifications for HA are turned on in HA’s companion app and in iPhone settings > Notifications > Home Assistant
Happy and willing to provide more details if this is a bug with HA version or with iOS 16