#Push notifications for iOS and Android do not accept responses

1 messages · Page 1 of 1 (latest)

fading parcel
#

I have several automations that ask for responses from the user. If my fiance does it on her Apple watch it works, but on her phone (iOS) or my phone it does not work.

Is this a bug to be opened on the main HA repo or is this something I am doing? Code in the next post.

chilly beacon
#

Have you tried to restart the iPhone?

woven nebula
#

You need to long press the notification on iOS to see the action buttons

fading parcel
#

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.

chilly beacon
#

What if you test a simple actionable notification within development tools?

hazy girder
#

"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?

fading parcel
#

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.

fading parcel
fading parcel
#

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?

hazy girder
hazy girder
# fading parcel It's set up to do a standard mobile push notification. When I tap on one of thes...

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

fading parcel
fading parcel
fading parcel
#

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"

hazy girder
#

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

fading parcel
#

She definitely is.

#

I made sure to watch her do it on the second test