Open lucddm 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)
Just set up my HA instance today (Running in proxmox VM), and im having the same problem. Im not very proficient in home assistant yet, so i don't know how to see the two phones ids.
This image shows the one phone in the automation visual editor.
Both phones are pixel 7 pro and it looks like the last phone to be logged in is the one actually recieveing the notifications.
In the mobile app integration i can see this, both with the same name, probably because it is the same model.
And here in the devices page both phones are showing with their respective names
Hope this helps
EDIT: im also unable to send message to the first registered phone through a script
device_id: [...]
domain: mobile_app
type: notify
message: HEllo world
title: Test notif
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 "mobileapp" 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.mobileapp", 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