Open miguelangel-nubla 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)
I think your issue here is that you have 2 separate groups and one tag, tags will always replace each other. You are probably causing a weird bug to appear. What happens if you give the same group name or unique tags per group? Also this should be a bug with the android repo and not HA core :)
What happens if you give the same group name or unique tags per group?
Then it works fine. To me seems that the notification is handled correctly (deleted from one group and created in another) but the previous group "header" is kept, instead of checking if group empty and cleared automatically.
Also this should be a bug with the android repo and not HA core :)
Sorry about that, my bad. Should I close this one and open there?
Then it works fine. To me seems that the notification is handled correctly (deleted from one group and created in another) but the previous group "header" is kept, instead of checking if group empty and cleared automatically.
the app wont be able to automatically clean that up based on the provided YAML. As far as the app is concerned we create each notification with how the user defines it. We dont want to prevent users from creating notifications but you should be testing them to make sure they work as you expect. Different devices also do different things with how they display notifications. I suppose in this case we can consider leaving a note in teh docs about this to use the same group with the same tag.
Sorry about that, my bad. Should I close this one and open there?
we can leave it for now thats fine
The problem
Notifications to Android phone using a
group
in servicenotify.mobile_app_*
gives unexpected behavior. Running these two services sequentially:results in:![Screenshot 2024-06-10 012136](https://github.com/home-assistant/core/assets/866596/7a4e89ee-01f7-44db-a736-95edcfa363dd)
Since they are using the same tag, I expected either the tag to be unique globally (so only last message is displayed) or two complete notifications, one per group, instead of one missing the message.
Also note the "last" notification at the top does not display group.
What version of Home Assistant Core has the issue?
core-2024.6.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
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