--- title: Tuya description: Instructions on how to set up the Tuya hub within Home Assistant. ha_category: - Binary sensor - Camera - Climate - Cover - Doorbell - Fan - Humidifier - Light - Number - Scene - Select - Siren - Switch - Vacuum ha_iot_class: Cloud Push ha_release: 0.74 ha_config_flow: true ha_domain: tuya ha_codeowners: - '@Tuya' - '@zlinoliver' - '@frenck' ha_platforms: - alarm_control_panel - binary_sensor - button - camera - climate - cover - diagnostics - fan - humidifier - light - number - scene - select - sensor - siren - switch - vacuum ha_dhcp: true ha_integration_type: hub --- 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. You will need your **User Code**. You can find this code in the Smart Life app or Tuya Smart app in **Settings** > **Account and Security** screen, and enter the code shown on the **User Code** field. Please note, that the user code is case sensitive, please be sure to enter it exactly as shown in the app. {% include integrations/config_flow.md %} ## 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.