-
-
Notifications
You must be signed in to change notification settings - Fork 28.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"notify.mobile_app" Not Handling Duplicate Device Correctly (devices with the same names) #117716
Comments
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) mobile_app documentation |
Updated: seems to work now, cant recall updating or changing much. But got seperate options for each phone |
what you need to do here is give each device a unique name. Settings > Companion app > select your server > change device name to be unique this will update the service calls properly. |
The problem
I was trying to set up notifications / create a custom script (using the "mobile_app_" component for notifications) for multiple mobile devices. Two or more devices had the same name, for example, "SM-A365F". When attempting to send notifications using "notify.mobile_app_<device_name>", only one service was listed in the available services "notify.mobile_app_sm-a365".
After verification, Home Assistant successfully handles device trackers as follows:
However, for notifications, only notify.mobile_app_sm_a325f was available. When using this notification service, only one device receives the notification.
Additionally, if I try to use the following Home Assistant script (generated by H.A) that should send a notification to one of the 2 devices, I get this error: "Error: Unable to find notify service for webhook ID".
What version of Home Assistant Core has the issue?
core-2024.5.3
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
https://www.home-assistant.io/integrations/mobile_app/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: