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.16k stars 29.83k forks source link

Tuya integration partially working. Controlling devices works. Receiving events from devices does not work. #124800

Open boli opened 2 weeks ago

boli commented 2 weeks ago

The problem

Enabling and connecting the Tuya integration seems to work (no obvious errors)

Devices are imported, and become visible in HA and, at least in theory, available for operation.

However events/notifications/states from the devices do not seem to arrive at HA.

I can toggle a switch using the HA interface, and i can hear the switch toggle for real, (but the visible state of the switch in HA changes for a few seconds, but then flips back to whatever it was before)

from what i've read - there is a 'notification api' for tuya - and i think it's fair to say that .... its not working.

I couldnt find anything useful in the logs at all.

What version of Home Assistant Core has the issue?

core-2024.8.3

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

Link to integration documentation on our website

No response

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 2 weeks 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)

cmgestevao commented 2 weeks ago

Clear your browser cache, in Chrome is Ctrl+F5

boli commented 2 weeks ago

Clear your browser cache, in Chrome is Ctrl+F5

its not a browser problem. notifications from Tuya about device state changes are not arriving at HA - so HA doesnt know there has been any state change - and the browser only renders what HA knows.