#Push notifications for iOS and Android do not accept responses
1 messages · Page 1 of 1 (latest)
Have you tried to restart the iPhone?
You need to long press the notification on iOS to see the action buttons
Her phone has been restarted multiple times in the months this has been going on, and she is long pressing to interact. When she interacts with the options in the notification HA never received a response. same with my android devices.
What if you test a simple actionable notification within development tools?
"Doesn't work" usually means your expectations are different than the outcome, not necessarily that something is broken. Can you describe what doesn't work?
It's set up to do a standard mobile push notification. When I tap on one of these options it's supposed to add to a counter for the habit tracking if I select "I did."
It then moves into the next category of habit tracking, asking the same kind of question with the same responses. There are three questions in total.
What actually happens is I tap either option, the notification goes away, and the trace timeline looks like the second screenshot - hanging on the waiting for a response.
I didn't know you could do this. Let me dig and see what I get
Alright the syntax appears correct once I fixed all the weird indentation stuff when I copied and pasted from the automation. I do not see a way to test whether it stores the response to be used later - is there a way to test that?
Well I figured out mine at least - driving into the automation it was waiting for events from the wrong user. Fixing that made it so my Android tablet does the notifications correctly
Any ideas why my fiances watch would work and her phone would not?
so when she taps "I did" on her phone, the automation doesn't continue and the wait_for_trigger gets stuck waiting for a mobile_app_notification_action forever, right?
that trace does not look like your [automation definition](#1338190365034938549 message), since it has 3 branches instead of the expected 2. more over, it triggered at 8PM, which should not happen, as you have set mode: restart, which means that the 6PM run will stop the 6AM run regardless of whether you've tapped the actions in your notifications. however, i will assume that has to do with a development version of the automation
what i'd do to debug is to listen for mobile_app_notification_action events using the dev tools and see why it may not match your expected trigger
I copied the 6pm triggers into the default actions on the options so I can trigger it to test.
I will dig into it tomorrow with the dev tools - today I need to take a break from screens for date night after work.
Thank you for everyone pointing me in the right direction
Just tested it - it does not matter what she picks on her phone, the noticiation closes and opens the Home Assistant app.
The automation is stuck on "waiting for trigger"
That's the current automation I have for her.
are you sure she's selecting an action and not the notification itself? on iOS you need to long press a notification to see the actions