Tuya

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.

Prerequisites

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.

配置

要将 Tuya hub 添加到您的 Home Assistant 实例中,请使用此 My 按钮:

Tuya 可以被 Home Assistant 自动发现。如果发现了实例, 它将显示为 已发现。您可以立即进行设置。

手动配置步骤

如果没有自动发现,请不要担心!您可以设置一个 手动集成条目:

Scenes

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.