Closed davefx closed 4 months ago
This is a common behaviour of Tuya smart sockets, not a bug in the integration.
Maybe I don't know if this is a bug or not, but until a few days ago this was fully working (receiving local data every 5 seconds or so). And since then the automations I had with this integration became totally useless. I've had to replace my locally-controlled Tuya smart plug with another one.
Nothing changed in the integration in the past few days. Did the device's firmware update?
No. No firmware updates in the plug. If somehow I was enjoying a non-standard behaviour, that got cancelled (maybe from Tuya cloud), in that case maybe the integration could send some kind of message to the smartplug so it enters in the state to report data every X seconds...
Describe the bug Starting a few days ago, my Tuya-local managed smart socket only updates its electrical information (power consumption, current, voltage) into Home Assistant if I open the "Electric" tab for this device inside the Tuya App in my phone.
To Reproduce No updates in power consumption, current, voltage in the last 10 minutes in Home Assistant. At the moment I open the "Electric" tab in my Tuya app for this smart socket, values for these entities start updating every 5 seconds. The updates stop again after closing the "Electric" tab.
Expected behavior The socket should keep sending periodic updates, no matter if the "Electric" tab of the app is opened or not.
Additional context Add any other context about the problem here.
If the bug involves a device, then please include device diagnostics from Settings / Devices & Services / Tuya Local (your device) / "1 device"
Please check if there are messages from Tuya Local in the Home Assistant log (Settings / System / Logs), and include those too.
If applicable, add screenshots to help explain your problem.