mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Add config flow and device registry to Tuya integration (#13389)
This commit is contained in:
parent
87b47d1872
commit
06ce868a29
@ -11,6 +11,7 @@ ha_category:
|
|||||||
- Switch
|
- Switch
|
||||||
ha_iot_class: Cloud Polling
|
ha_iot_class: Cloud Polling
|
||||||
ha_release: 0.74
|
ha_release: 0.74
|
||||||
|
ha_config_flow: true
|
||||||
ha_domain: tuya
|
ha_domain: tuya
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -25,7 +26,17 @@ There is currently support for the following device types within Home Assistant:
|
|||||||
- **Scene** - The device state in frontend panel will not change immediately after you activate a scene.
|
- **Scene** - The device state in frontend panel will not change immediately after you activate a scene.
|
||||||
- **Switch** - The platform supports switch and socket.
|
- **Switch** - The platform supports switch and socket.
|
||||||
|
|
||||||
## Configuration
|
## Configuration via frontend
|
||||||
|
|
||||||
|
To add your Tuya devices into your Home Assistant installation, go to:
|
||||||
|
|
||||||
|
**Configuration** -> **Integrations** in the UI, click the button with `+` sign and from the list of integrations select **Tuya**.
|
||||||
|
|
||||||
|
During configuration, be careful to select the [country code](https://www.countrycode.org/) and the platform corresponding to those used by you in the app. Once configuration flow is completed, the devices configured in your app will be automatically discovered.
|
||||||
|
|
||||||
|
### Configuration via YAML
|
||||||
|
|
||||||
|
_YAML configuration is still around for people that prefer YAML, but it's deprecated and you should not use it anymore._
|
||||||
|
|
||||||
To add your Tuya devices into your Home Assistant installation, add the following to your `configuration.yaml` file:
|
To add your Tuya devices into your Home Assistant installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user