1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00

Add support for Tuya Climate devices (#1076)

* Start support for tuya climate devices

* Add tuya climate to test4

* Fix lint and cast

* Remove blank line

* Try to display accurate action based on observed behaviour.

* Fix action when in off mode

* Improve config dump

* merge use of CONF_SWITCH_DATAPOINT

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
This commit is contained in:
Jesse Hills
2020-07-12 10:04:34 +12:00
committed by GitHub
parent c3acf08c02
commit 68d29c5af5
8 changed files with 251 additions and 7 deletions

View File

@@ -75,7 +75,14 @@ sensor:
# type: blue
# name: APDS9960 Blue
climate:
- platform: tuya
id: tuya_climate
switch_datapoint: 1
target_temperature_datapoint: 3
switch:
- platform: tuya
id: tuya_switch
switch_datapoint: 1