From 012f5cb37f643acf686faca9786328ecfc982311 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Thu, 14 Feb 2019 10:22:24 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9C=20Merges/Redirect=20Tuya=20compone?= =?UTF-8?q?nt=20pages=20(#8567)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/_components/climate.tuya.markdown | 22 --------------------- source/_components/cover.tuya.markdown | 23 ---------------------- source/_components/fan.tuya.markdown | 23 ---------------------- source/_components/light.tuya.markdown | 23 ---------------------- source/_components/scene.tuya.markdown | 24 ----------------------- source/_components/switch.tuya.markdown | 22 --------------------- source/_components/tuya.markdown | 25 +++++++++++++++++++++++- 7 files changed, 24 insertions(+), 138 deletions(-) delete mode 100644 source/_components/climate.tuya.markdown delete mode 100644 source/_components/cover.tuya.markdown delete mode 100644 source/_components/fan.tuya.markdown delete mode 100644 source/_components/light.tuya.markdown delete mode 100644 source/_components/scene.tuya.markdown delete mode 100644 source/_components/switch.tuya.markdown diff --git a/source/_components/climate.tuya.markdown b/source/_components/climate.tuya.markdown deleted file mode 100644 index 4d89a4783b1..00000000000 --- a/source/_components/climate.tuya.markdown +++ /dev/null @@ -1,22 +0,0 @@ ---- -layout: page -title: "Tuya Climate" -description: "Instructions on how to setup the Tuya climate devices within Home Assistant." -date: 2018-07-16 09:00 -sidebar: true -comments: false -sharing: true -footer: true -logo: tuya.png -ha_category: Climate -ha_release: 0.75 -ha_iot_class: "Cloud Polling" ---- - -The `tuya` climate platform allows you to control your [Tuya Smart](https://www.tuya.com) climate devices. - -The platform supports the air conditioner and heater. - -

-Full configuration details can be found on the main [Tuya component](/components/tuya/) page. -

diff --git a/source/_components/cover.tuya.markdown b/source/_components/cover.tuya.markdown deleted file mode 100644 index 82040f93ecc..00000000000 --- a/source/_components/cover.tuya.markdown +++ /dev/null @@ -1,23 +0,0 @@ ---- -layout: page -title: "Tuya Cover" -description: "Instructions on how to setup the Tuya cover within Home Assistant." -date: 2018-07-20 09:00 -sidebar: true -comments: false -sharing: true -footer: true -logo: tuya.png -ha_category: Cover -ha_iot_class: "Cloud Polling" -ha_release: 0.75 ---- - - -The `tuya` cover platform allows you to control your [Tuya Smart](https://www.tuya.com) curtains. - -The platform supports curtains. - -

-Full configuration details can be found on the main [Tuya component](/components/tuya/) page. -

\ No newline at end of file diff --git a/source/_components/fan.tuya.markdown b/source/_components/fan.tuya.markdown deleted file mode 100644 index 273a6f00729..00000000000 --- a/source/_components/fan.tuya.markdown +++ /dev/null @@ -1,23 +0,0 @@ ---- -layout: page -title: "Tuya Fan" -description: "Instructions on how to setup the Tuya fan within Home Assistant." -date: 2018-07-17 09:00 -sidebar: true -comments: false -sharing: true -footer: true -logo: tuya.png -ha_category: Fan -ha_iot_class: "Cloud Polling" -ha_release: 0.75 ---- - - -The `tuya` fan platform allows you to control your [Tuya Smart](https://www.tuya.com) fan. - -The platform supports most kinds of Tuya fans. - -

-Full configuration details can be found on the main [Tuya component](/components/tuya/) page. -

\ No newline at end of file diff --git a/source/_components/light.tuya.markdown b/source/_components/light.tuya.markdown deleted file mode 100644 index ec3d418e5e5..00000000000 --- a/source/_components/light.tuya.markdown +++ /dev/null @@ -1,23 +0,0 @@ ---- -layout: page -title: "Tuya Light" -description: "Instructions on how to setup the Tuya lights within Home Assistant." -date: 2018-07-16 09:00 -sidebar: true -comments: false -sharing: true -footer: true -logo: tuya.png -ha_category: Light -ha_iot_class: "Cloud Polling" -ha_release: 0.74 ---- - - -The `tuya` light platform allows you to control your [Tuya Smart](https://www.tuya.com) lights. - -The platform supports most kinds of Tuya light. - -

-Full configuration details can be found on the main [Tuya component](/components/tuya/) page. -

\ No newline at end of file diff --git a/source/_components/scene.tuya.markdown b/source/_components/scene.tuya.markdown deleted file mode 100644 index 70babb97885..00000000000 --- a/source/_components/scene.tuya.markdown +++ /dev/null @@ -1,24 +0,0 @@ ---- -layout: page -title: "Tuya Scene" -description: "Instructions on how to setup the Tuya scene within Home Assistant." -date: 2018-07-20 09:00 -sidebar: true -comments: false -sharing: true -footer: true -logo: tuya.png -ha_category: Scene -ha_release: 0.75 ---- - - -The `tuya` scene platform allows you to activate your [Tuya Smart](https://www.tuya.com) scenes. - -The platform supports scenes. - -The device state in frontend panel will not change immediately after you activate a scene. - -

-Full configuration details can be found on the main [Tuya component](/components/tuya/) page. -

\ No newline at end of file diff --git a/source/_components/switch.tuya.markdown b/source/_components/switch.tuya.markdown deleted file mode 100644 index 28a130e0ce8..00000000000 --- a/source/_components/switch.tuya.markdown +++ /dev/null @@ -1,22 +0,0 @@ ---- -layout: page -title: "Tuya Switch" -description: "Instructions on how to set up the Tuya switch within Home Assistant." -date: 2018-07-09 09:00 -sidebar: true -comments: false -sharing: true -footer: true -logo: tuya.png -ha_category: Switch -ha_iot_class: "Cloud Polling" -ha_release: 0.74 ---- - -The `tuya` switch platform allows you to control your [Tuya Smart](https://www.tuya.com) switch. - -The platform supports switch and socket. - -

-Full configuration details can be found on the main [Tuya component](/components/tuya/) page. -

diff --git a/source/_components/tuya.markdown b/source/_components/tuya.markdown index c08bc5ab3fa..52c79e31f4d 100644 --- a/source/_components/tuya.markdown +++ b/source/_components/tuya.markdown @@ -8,13 +8,36 @@ comments: false sharing: true footer: true logo: tuya.png -ha_category: Hub +ha_category: + - Hub + - Climate + - Cover + - Fan + - Light + - Scene + - Switch ha_iot_class: "Cloud Polling" ha_release: 0.74 +redirect_from: + - /components/climate.tuya/ + - /components/cover.tuya/ + - /components/fan.tuya/ + - /components/light.tuya/ + - /components/scene.tuya/ + - /components/switch.tuya/ --- The `tuya` component is the main component to integrate all [Tuya Smart](https://www.tuya.com) 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. + ## {% linkable_title Configuration %} To add your Tuya devices into your Home Assistant installation, add the following to your `configuration.yaml` file: