Open relyef opened 1 month ago
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (mobile_app
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
mobile_app documentation mobile_app source (message by IssueLinks)
When the same script is called via Developer Tools/Services, everything works as expected:
service: notify.all_phones
data:
message: clear_notification
data:
tag: us-mail
ttl: 0
priority: high
we just pushed a server fix for FCM are you still able to reproduce it today?
Unfortunately, no. The automation to clear the message worked successfully
The problem
After update to 2024.6.2 mobile app notification to clear message fails with "Attempt to decode JSON with unexpected mimetype" error. Prior to the update, notification worked with no issues for a very long time.
Related Automation action (clear notification about mailbox cover being opened)
Trace information confirms automation was triggered but the phone never received the "clear" notification.
Corresponding log message:
What version of Home Assistant Core has the issue?
core-2024.6.2
What was the last working version of Home Assistant Core?
core-2024.6.1
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Automation, calling service.nofity with clear_notification message
Link to integration documentation on our website
https://www.home-assistant.io/integrations/mobile_app/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
Was working prior to 2024.6.2 update