File tree Expand file tree Collapse file tree 1 file changed +67
-0
lines changed Expand file tree Collapse file tree 1 file changed +67
-0
lines changed Original file line number Diff line number Diff line change @@ -727,6 +727,73 @@ class Tuya_Double_Var05(EnchantedDevice, TuyaSwitch):
727727 }
728728
729729
730+ class Tuya_Double_Var06 (EnchantedDevice , TuyaSwitch ):
731+ """Tuya 2 gang no neutral light switch (variation 06)."""
732+
733+ signature = {
734+ MODEL : "TS0012" ,
735+ ENDPOINTS : {
736+ 1 : {
737+ PROFILE_ID : zha .PROFILE_ID ,
738+ DEVICE_TYPE : zha .DeviceType .ON_OFF_LIGHT ,
739+ INPUT_CLUSTERS : [
740+ Basic .cluster_id ,
741+ Identify .cluster_id ,
742+ Groups .cluster_id ,
743+ Scenes .cluster_id ,
744+ OnOff .cluster_id ,
745+ ],
746+ OUTPUT_CLUSTERS : [
747+ Time .cluster_id ,
748+ Ota .cluster_id ,
749+ ],
750+ },
751+ 2 : {
752+ PROFILE_ID : zha .PROFILE_ID ,
753+ DEVICE_TYPE : zha .DeviceType .ON_OFF_LIGHT ,
754+ INPUT_CLUSTERS : [
755+ Identify .cluster_id ,
756+ Groups .cluster_id ,
757+ Scenes .cluster_id ,
758+ OnOff .cluster_id ,
759+ ],
760+ OUTPUT_CLUSTERS : [],
761+ },
762+ },
763+ }
764+
765+ replacement = {
766+ ENDPOINTS : {
767+ 1 : {
768+ PROFILE_ID : zha .PROFILE_ID ,
769+ DEVICE_TYPE : zha .DeviceType .ON_OFF_LIGHT ,
770+ INPUT_CLUSTERS : [
771+ Basic .cluster_id ,
772+ Identify .cluster_id ,
773+ Groups .cluster_id ,
774+ Scenes .cluster_id ,
775+ TuyaZBOnOffAttributeCluster ,
776+ ],
777+ OUTPUT_CLUSTERS : [
778+ Time .cluster_id ,
779+ Ota .cluster_id ,
780+ ],
781+ },
782+ 2 : {
783+ PROFILE_ID : zha .PROFILE_ID ,
784+ DEVICE_TYPE : zha .DeviceType .ON_OFF_LIGHT ,
785+ INPUT_CLUSTERS : [
786+ Identify .cluster_id ,
787+ Groups .cluster_id ,
788+ Scenes .cluster_id ,
789+ TuyaZBOnOffAttributeCluster ,
790+ ],
791+ OUTPUT_CLUSTERS : [],
792+ },
793+ },
794+ }
795+
796+
730797class Tuya_Triple_No_N (EnchantedDevice , TuyaSwitch ):
731798 """Tuya 3 gang no neutral light switch."""
732799
You can’t perform that action at this time.
0 commit comments