Extended Tuya integration for Home Assistant.
This custom integration is there to add the missing entities on the official Tuya integration.
The reason why this is not merged in the official Tuya integration is because the way this is done is not officially supported by Home Assistant core team (i.e. this integration uses hacks to do its job).
The following table compares the features of this integration with the official one, as well as the different modes this integration supports. Legend:
Functionality | OT | OT+XT | OT+XT+Cloud | XT | XT+Cloud | Remarks |
---|---|---|---|---|---|---|
official Tuya integration entities | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |
Additional entities support | :x: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |
All possible entities support | :x: | :x: | :x: | :x: | :white_check_mark: | OT+XT+Cloud is close but in some rare cases entities will be missing |
Autocorrection of some entities | :x: | :x: | :x: | :x: | :white_check_mark: | XT+Cloud uses multiple sources to determine the entity properties |
Multiple account support | :x: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | When using OT+XT, multiple accounts are only supported in Xtend Tuya, not the official Tuya integration |
Shared device support | :x: | :x: | :white_check_mark: | :x: | :white_check_mark: | |
Shared home support | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |
Localized entity names | :white_check_mark: | :x: | :x: | :x: | :x: | Due to a limitation with custom components |
Easiest install is via HACS:
You can choose to use this integration alongside the official Tuya integration or not. The choice is yours, but using it without the official Tuya integration will give you some perks (see comparison table above).
When installed without the official Tuya integration, this integration will provide all the devices and entities by itself.
When installed alongside the official Tuya integration, this integration will add the missing entities to the existing devices provided by the official Tuya integration.
If you have more than one Tuya account, go to the Xtend Tuya integration page (Settings -> Devices and integrations -> Xtend Tuya) and click Add hub. This will prompt for your new account, or it will automatically pull the next account from the official Tuya integration (you can repeat for more).
If after adding this integration you still have entities which are missing, you can try inserting your Tuya Cloud credentials (XT+Cloud in the table above). The full procedure is described here.
After that, if you are still missing some entities, you can perform the following procedure