Franck Nijhof 1833c32a2c Cleans up front matter (#9835)
* Sets front matter defaults

* Removes default front matter from section templates/pages

* Removes default front matter from addon pages

* Removes default front matter from integration pages

* Removes default front matter from posts

* Removes default front matter from docs pages

* Removes default front matter from other pages

* Fixes blog category pages
2019-07-11 14:35:08 -07:00

2.3 KiB

title, description, logo, ha_category, ha_iot_class, ha_release, redirect_from
title description logo ha_category ha_iot_class ha_release redirect_from
Tuya Instructions on how to setup the Tuya hub within Home Assistant. tuya.png
Hub
Climate
Cover
Fan
Light
Scene
Switch
Cloud Polling 0.74
/components/climate.tuya/
/components/cover.tuya/
/components/fan.tuya/
/components/light.tuya/
/components/scene.tuya/
/components/switch.tuya/

The tuya integration is the main integration to integrate all Tuya Smart related platforms. You will need your Tuya account information (username, password and account country code) to discover and control devices which related to your account.

There is currently support for the following device types within Home Assistant:

  • Climate - The platform supports the air conditioner and heater.
  • Cover - The platform supports curtains.
  • Fan - The platform supports most kinds of Tuya fans.
  • Light - The platform supports most kinds of Tuya light.
  • Scene - The device state in frontend panel will not change immediately after you activate a scene.
  • Switch - The platform supports switch and socket.

Configuration

To add your Tuya devices into your Home Assistant installation, add the following to your configuration.yaml file:

tuya:
  username: YOUR_TUYA_USERNAME
  password: YOUR_TUYA_PASSWORD
  country_code: YOUR_ACCOUNT_COUNTRYCODE

{% configuration %} username: description: Your username to log in to Tuya. This may be your phone number. required: true type: string password: description: Your password to log in to Tuya. required: true type: string country_code: description: "Your account country code, e.g., 1 for USA or 86 for China." required: true type: string platform: description: "The app where your account register. tuya for Tuya Smart, smart_life for Smart Life, jinvoo_smart for Jinvoo Smart." required: false type: string default: tuya {% endconfiguration %}

Service

These services are available for the tuya component:

  • force_update
  • pull_devices

Devices state data and new devices will refresh automatically. If you want to refresh all devices information or get new devices related to your account manually, you can call the force_update or pull_devices service.