Tuya integration Broken 02/2024?

Replace the devices in the automations.

Hindsight, but this is why everyone recommends using entities instead of devices. Each device has a unique ID (alphanumeric string) that’s used when you select the ‘device’ option. That will change when re-adding the device with a new integration like this. Using the entity instead will use the entity ID (name) instead which means you can just make sure the new entity has the same name as the old entity and it will automatically be reassigned in automations.

You can see this for yourself by adding a device and then adding the entity from the same device to an automation and checking out the YAML. In these screenshots, I used device for the first selection and entity for the second.



1 Like

Actually I could extend the trial period of the tuya contract for 6 months… and I can control my devices through both integrations: the old tuya integration and the new smart life integration…

The automations I have are working well but they are using the old tuya integration.

Do you guys advise me to remove the old one and adjust all of my automations to use the new smart life integration?


Now Home assistant is useless aplication i was using it alot of years and i have too use new version all my configs is broken alot off them is no longer work who is so ,
to create that new Bad version now this system on ha is nothink then broken somebody idea

I liked this integration more than Tuya and LocalTuya, removed both and switching to Smart life. I have 5 smart plugs and 2 Air Conditioners, all plugs works seamlessly. Air Conditioners still only have the HVAC modes, but anyways, way simpler than Tuya.

Nice work :hugs:.

But this new integration is still beta right? Is it trustable? Or better to wait before this changing?

There’s no harm is trying it out but my experience has not been good. I have five Tuya bulbs being used for outside lighting with an automation that turns them all on at dusk, changes one set to red at 10 PM, and turns everything off at dawn. They’ve all been pretty inconsistent since settings up the HACS integration where they worked without fail using the HA integrations for months.

Fantastic. Thanks !!!

Oh… so maybe it’s safer to wait a bit…
For me it’s very hard job to change almost all my automations to let them run the devices through the new “Smartlife” integration…

Smart life via HAC has done the trick, I’ve just had to update all my Automations, Storyboards and Dashboards to pick up the devices with there new entity ids etc

1 Like

even tuyas own instructions pointed me to smart life… or pay 25,000usd per year for a iot core subscription

The Tuya developer prerequisites say Home Assistant on Docker Desktop needs to be installed. Will this work on a Pi running HA OS Core?

In IoT platform website, go to cloud/ cloud services/ IoT Core/ (click on view details) should say package expired or something

This $Hit sucks. All the more reason to get rid of ALL Chinese cloud CRAP.

I had 2 dozen devices in Tuya iOT - 6 months and you lose everything while some idiot reviews your request for extension? No thanks. I’m now migrating them all to local plugs.

Just all wait for Wednesday :slight_smile:
image
You add Tuya and you just need your user from the Smart Life (or Tuya Smart) app and all your devices are in HA, boom.

Except it half works for me. I set this up the other day.

I got all my devices, I was very pleased. Because this dev account expiring every other month was pain in the ***.

Oh…don’t get me wrong, all my devices immediately showed up, but using them has been very unreliable:

I started a move from Tuya WiFi to Tuya Zigbee a few month ago, I’ll continue the process I think :slight_smile:

I also had an issue with Tuya existing integration after upgrading to 2024.2. After entering correct User Code it did not provide me with a QR code. I downgraded and upgraded again to end up with the same issue. I tried this 3 time because if you don’t learn the first time then why not. lol Anyway I decided to delete my integration of Tuya and add the integration again and it worked as specified. I guess they forgot to let you know that you might have to do that. As a side note. some integrations will fail because names may have changed on a few items. That is just an FYI.

Does not work for me. Whenever I enter the code I get “Unknown error occurred” message. I have rebooted the HA machine several times. Also tried the Smart Life integration beta and get the same thing :frowning_face: Any ideas?