It seems specifically the “Toggle” function and updating of the state isn’t working.
I’ve managed to fix this buy not using the toggle switch, but by adding a button which sends an “ON” or “OFF” command
This is done by
Entity
Call Service
Turn light ON
and another button for Off.
You can add existing groups of lights so you don’t need to make a button for each light.
I’ve only just started using the system so I came accross this while setting up Tuya for the first time.
Implemented a work arround since Tuya will solve the problem. Generated an automatization every 5 minutes to reload tuya integration, and after that devices status is updated.
This is not the best solution, but no other solutions I can imagine now.
This must be why my Tuya integration in HA has said “Failed to set up” for some weeks now with all devices offline. This is a pain in the butt as I had a LOT of automations I have been building all summer using Smart Life devices in HA. The thought of having to redo everything gives me quite the headache. I am beginning to feel that the smart home is no longer that smart if I am spending more time maintaining it than I would be manually making things happen with dumb devices lol. gasp. I’ll put this one on the back burner for now.
This error is most likely because you didn’t REMOVE Tuya V2 before upgrading to 2021.10. It is incompatible and will clash with the new Tuya integration. You should perhaps do what it says, and “Check the logs”.
Allegedly it’s fixed in Home Assistant 2021.12.6? I’ve been having the same issue (where reloading the integration similarly fixes the state of the entities). I updated and haven’t had the issue yet, but don’t know the frequency at which it occurred before.
If it’s not fixed in 12.6 it looks like it has been fixed in 12.7 because it’s mentioned in the release notes.
EDIT:
Nevermind - reading comprehension failure. It IS 12.6… Dec 27. That’s where I have misremembered the 7 from…
Hola, tengo este mismo problema, no se actualizan los estados de sensores y termómetros de Tuya, solo cuando reinicio la integración con Tuya en Home assistant.
Me gustaría poder conectar directamente los sensores Zigbee de Tuya con un hub conectado directamente a mi Raspberry Pi4.
He adquirido un coordinador Zigbee CC2531, que aún no he podido reconocer en HA
Me puedes recomendar algún tutorial o libro para aprender como programar scripts en HA?
La verdad es que voy muy perdido, tengo 50 años y mis conocimientos de programación son de plc’s de los años 90 y 2000.
I have the same problem, but just with my smart strip that has 4 outlets. Works through the smartlife app, but does not toggle them with the integration in HA.
I have the same issue… couple of devices don’t connect, state change is very unreliable… was working perfectly earlier. On Tuya (Smart Life) App everything works
I have similar problems. I can’t turn on or off my heater, but I can switch it on and off via the device debugging… Any way to send custom codes to tuya iot platform? Full story here: