Tuya Official Home Assistant Integration on Github now!

Items Tuya v2 Integration Localtuya
Supported category Built on Tuya’s standard OpenAPI, the new integration supports devices of all types and most of the control commands.

- Light: Supports Tuya Wi-Fi light devices.
- Switch: Supports Tuya Wi-Fi switch devices, like switch, socket and power strip
- Cover: Supports Tuya cover devices like smart curtain motor.
- Climate: Supports Tuya climate devices like air conditioner and heater.
- Fan: Support Tuya fan devices.
- Sensor: Support Tuya sensors, include
wsdcg, # Temperature and Humidity Sensor
mcs, # Door Window Sensor
ywbj, # Somke Detector
rqbj, # Gas Detector
pir, # PIR Detector
sj, # Water Detector
pm2.5, # PM2.5 Sensor
1 and multiple gang switches
- Wi-Fi smart plugs (including those with additional USB plugs)
- Lights
- Covers
- Fans
- Climates (soon)
Driver development Supports option for testing virtual devices, which improves the efficiency of debugging drivers for different categories. Supports real device testing only.
Verification method Supports Tuya official secure authorization and verification to protect your account from intrusion. Not supports official verification.
Technical support Supports Tuya official technical support and integration iteration. If you have any problems, submit a service ticket to request support. No Tuya official support provided.
Operation on Tuya IoT Platform Create a cloud project of Smart Home PaaS on the Tuya IoT Platform. Create a cloud project of Smart Home PaaS on the Tuya IoT Platform. Get Local key for each smart device and configure in the integration.
Integration initialization Requires seven items of information: Region, Access ID, Access Secret, Mobile App, Country Code, App Account, and App Account Password.

Note: Regarding the Mobile App, you must select the one you used to link devices on the Tuya IoT Platform.
Requires five items of information: Device ID (acquired from the Tuya IoT Platform), local key (from calling API), Name, Host, Protocal Version

- localTuya:The informations need to be uploaded manually every time for every device.
App Supports Tuya Smart and Smart Life currently. To request support for OEM apps, submit a service ticket and let us know. No need
Remote control support remote control by Tuya Smart and Smart Life currently.
Not support.
Risk of Hardware damage If your hardware that runs Home Assistant is damaged, the data of connected devices under Tuya v2 can be synced to a new replacement. The data of connected devices under the local Tuya will be lost.