File tree Expand file tree Collapse file tree 4 files changed +16
-2
lines changed
Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ New devices:
9494- TuYa Smart light switch - 1 gang without neutral wire
9595- TuYa Curtain motor
9696- Moes ZigBee3.0 dual USB wireless socket plug
97+ - TuYa Smart light switch - 3 gang without neutral wire
9798
9899## 0.2.0
99100- Support for "stop" command for blinds adapter
Original file line number Diff line number Diff line change @@ -465,11 +465,13 @@ If your device is not listed in the list below but [zigbee2mqtt supports](https:
465465- TuYa Wireless switch with 1 button
466466- TuYa Radiator valve with thermostat
467467- TuYa Curtain motor
468+ - TuYa Smart light switch - 1 gang without neutral wire
469+ - TuYa Smart light switch - 2 gang without neutral wire
470+ - TuYa Smart light switch - 3 gang without neutral wire
468471
469472### TUYATEC
470473- TUYATEC PIR sensor
471474- TUYATEC Temperature & humidity sensor
472- - TUYATEC Smart light switch - 1 gang without neutral wire
473475- TUYATEC Zigbee smart dimmer
474476- TUYATEC Temperature & humidity sensor with display
475477
Original file line number Diff line number Diff line change 1+ from adapters .tuya .TS0012 import TS0012
2+ from devices .switch .on_off_switch import OnOffSwitch
3+
4+
5+ class TS0013 (TS0012 ):
6+ def __init__ (self , devices ):
7+ super ().__init__ (devices )
8+ self .devices .append (OnOffSwitch (devices , 'center' , 'state_left' ))
9+
Original file line number Diff line number Diff line change 44from adapters .generic .temp_hum_sensor import TemperatureHumiditySensorAdapter
55from adapters .tuya .TS0002 import TS0002
66from adapters .tuya .TS0012 import TS0012
7+ from adapters .tuya .TS0013 import TS0013
78from adapters .tuya .TS0041 import TS0041
89from adapters .tuya .TS0601 import TS0601
910
1516 'TS0201' : TemperatureHumiditySensorAdapter , # TuYa Temperature & humidity sensor with display
1617 'TS0002' : TS0002 , # TuYa 2 gang switch
1718 'TS0011' : OnOffSwitchAdapter , # TuYa Smart light switch - 1 gang without neutral wire
18- 'TS0012' : TS0012 , # Vrey VR-X711U
19+ 'TS0012' : TS0012 , # TuYa Smart light switch - 2 gang without neutral wire
20+ 'TS0013' : TS0013 , # TuYa Smart light switch - 3 gang without neutral wire
1921 'TS0041' : TS0041 , # TuYa Wireless switch with 1 button
2022 'TS0601_curtain' : BlindAdapter , # TuYa Curtain motor
2123 'TS0601_thermostat' : TS0601 , # TuYa Radiator valve with thermostat
You can’t perform that action at this time.
0 commit comments