Open gthbusrr opened 2 weeks 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)
The problem
On Android, users can configure Local Push by selecting "Persistent Connection" in the server settings. However, the Home Assistant (HA) server only respects this setting if the phone has an active internet connection at the time the notification is sent. For instance, if I'm in the subway without cell signal, HA will fallback to using FCM.
This fallback behavior is not adequately documented in the official documentation, and I believe it undermines the purpose of offering a Local Push option.
Proposed Solutions:
Additional Notes: I am aware that using the "minimal" version of the app disables FCM entirely, but this version lacks critical features like location tracking, making it an impractical solution for many users.
There's already a VERY useful event hook that allows the server to know whether the Android app has received the notification, which could further help refine how fallbacks are handled in scripts / automations.
What version of Home Assistant Core has the issue?
core-2024.10.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
mobile_app
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
Related: https://github.com/home-assistant/android/issues/4683 https://github.com/home-assistant/android/issues/4574#issuecomment-2284589487