1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

Add support for Tuya Binary Sensors (#1089)

* Add Tuya binary sensor

* Add tuya binary sensor to test4

* Fix copy/paste

* Forgot id
This commit is contained in:
Jesse Hills
2020-07-12 10:50:41 +12:00
committed by GitHub
parent a76b8e745b
commit ed5f207eba
4 changed files with 79 additions and 1 deletions

View File

@@ -77,6 +77,11 @@ sensor:
# type: blue
# name: APDS9960 Blue
binary_sensor:
- platform: tuya
id: tuya_binary_sensor
sensor_datapoint: 1
climate:
- platform: tuya
id: tuya_climate
@@ -87,4 +92,3 @@ switch:
- platform: tuya
id: tuya_switch
switch_datapoint: 1