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
71.13k stars 29.8k forks source link

Tuya and Smart Life at the same time - multiple accounts active at the same time #123576

Open Viperopc opened 1 month ago

Viperopc commented 1 month ago

The problem

Hello, I integrated Tuya yesterday. But now I also have devices that are linked to the Smart Life app. The setup itself worked perfectly. But only the Tuya devices or only the Smart Life devices can be active at any one time. As soon as I update the integration of one of the two using the "reload" function, 0 devices and 0 entities are displayed for the other. Am I doing something wrong here or is this a mistake?

Best regards

What version of Home Assistant Core has the issue?

2024.8.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

[tuya](integration: tuya)

Link to integration documentation on our website

No response

Diagnostics information

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 month ago

Hey there @tuya, @zlinoliver, @frenck, mind taking a look at this issue as it has been labeled with an integration (tuya) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `tuya` 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 tuya` 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)


tuya documentation tuya source (message by IssueLinks)

MonteAna commented 1 month ago

I experience the same issue with two Smart Life accounts or 'Hubs': I can only view one of them at a time from Home Assistant. However, the option to 'Add a Hub' exists and works.

camhef commented 3 weeks ago

I also have this issue. I have been using some Tuya Smart app entities for while. When I added my son's Smart Life app my own entities disappeared as his appeared. Here's what happens:

PhapandNap commented 1 week ago

I had this working with both apps and the same account. I just upgraded routers and now I am stuck choosing one or the other like the above mentioned. I can switch between seeing one group or the other in HA but can't get both to show up.