home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.86k stars 30.94k forks source link

Mobile app removes device after switching server causing auto's to fail. integration: mobile_app #131018

Open jtauscher opened 1 day ago

jtauscher commented 1 day ago

The problem

In companion app I have two servers with different names, IPv4 and IPv6, but is one HA with two addresses. Each time I switch server, the mobile app integration removes one device(name) which is not connected. I have automationa sending notifications to both Ipv4 and 6 so it doesnt matter which way i'm connected. Now they are failing because always one device is missing.

For my wifes phone it works like it always did (same phone, same config etc).

What version of Home Assistant Core has the issue?

core-2024.11.2

What was the last working version of Home Assistant Core?

core-2024.10.x

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

home-assistant[bot] commented 1 day 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!

Code owner commands Code owners of `mobile_app` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign mobile_app` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


mobile_app documentation mobile_app source (message by IssueLinks)

dshokouhi commented 1 day ago

ios or android?

jtauscher commented 1 day ago

Android. Sorry.

dshokouhi commented 1 day ago

ok please try the start fresh steps there could be some things that need to be cleaned:

https://companion.home-assistant.io/docs/troubleshooting/faqs/#starting-fresh-with-the-android-app

you may have followed them to some extent but they are meant to be followed in order to prevent things like auto backup restoring things app side

jtauscher commented 22 hours ago

Doesn't help. Btw the app switches server every time I kill and reload the app. It switches and HA deletes the contrary device which is not available at the moment. I added the moment of reloading the app. The "initializing" (IPv4) one will be gone in the next second and IPv6 will be loaded correctly.

Unbenannt