The Tuya integration integrates all Powered by Tuya devices you have added to the Tuya Smart and Tuya Smart Life apps.

All Home Assistant platforms are supported by the Tuya integration, except the lock and remote platform.


You need to have the Tuya Smart or Smart Life app installed, with an account created and at least one device added to that account.

Obtaining User Code for sign-in

To sign-in, you will need to get your User Code from the Smart Life / Tuya Smart app. You can find it by opening the app and:

  1. On the tab bar, select Me.
  2. Select the ⚙️ (gear) icon in the top-right corner.
  3. Tap Account and Security.
  4. At the bottom, User Code will be shown; you need to when setting up this integration.


To add the Tuya integration to your Home Assistant instance, use this My button:

Tuya can be auto-discovered by Home Assistant. If an instance was found, it will be shown as Discovered. You can then set it up right away.


Tuya supports scenes in their app. These allow triggering some of the more complex modes of various devices such as light changing effects. Scenes created in the Tuya app will automatically appear in the Scenes list in Home Assistant the next time the integration updates.