mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Add support for Tuya Switches (#1074)
* Add tuya component to test4.yaml * Add support for tuya switches * Better config dump
This commit is contained in:
@@ -49,6 +49,9 @@ web_server:
|
||||
username: admin
|
||||
password: admin
|
||||
|
||||
|
||||
tuya:
|
||||
|
||||
sensor:
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.hello_world
|
||||
@@ -71,3 +74,8 @@ sensor:
|
||||
# - platform: apds9960
|
||||
# type: blue
|
||||
# name: APDS9960 Blue
|
||||
|
||||
switch:
|
||||
- platform: tuya
|
||||
id: tuya_switch
|
||||
switch_datapoint: 1
|
||||
|
Reference in New Issue
Block a user