File tree Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change @@ -1170,6 +1170,63 @@ class Plug_v3(EnchantedDevice):
1170
1170
}
1171
1171
1172
1172
1173
+ class Plug_v3_NoGP (EnchantedDevice ):
1174
+ """Tuya TS011F plug without GP. One plug is _TZ3000_cehuw1lw."""
1175
+
1176
+ quirk_id = TUYA_PLUG_ONOFF
1177
+
1178
+ signature = {
1179
+ MODEL : "TS011F" ,
1180
+ ENDPOINTS : {
1181
+ 1 : {
1182
+ PROFILE_ID : zha .PROFILE_ID ,
1183
+ DEVICE_TYPE : zha .DeviceType .SMART_PLUG ,
1184
+ INPUT_CLUSTERS : [
1185
+ Basic .cluster_id ,
1186
+ Identify .cluster_id ,
1187
+ Groups .cluster_id ,
1188
+ Scenes .cluster_id ,
1189
+ OnOff .cluster_id ,
1190
+ Time .cluster_id ,
1191
+ Metering .cluster_id ,
1192
+ ElectricalMeasurement .cluster_id ,
1193
+ LightLink .cluster_id ,
1194
+ TuyaZB1888Cluster .cluster_id ,
1195
+ TuyaZBE000Cluster .cluster_id ,
1196
+ ],
1197
+ OUTPUT_CLUSTERS : [
1198
+ Ota .cluster_id ,
1199
+ ],
1200
+ },
1201
+ },
1202
+ }
1203
+
1204
+ replacement = {
1205
+ ENDPOINTS : {
1206
+ 1 : {
1207
+ PROFILE_ID : zha .PROFILE_ID ,
1208
+ DEVICE_TYPE : zha .DeviceType .SMART_PLUG ,
1209
+ INPUT_CLUSTERS : [
1210
+ Basic .cluster_id ,
1211
+ Identify .cluster_id ,
1212
+ Groups .cluster_id ,
1213
+ Scenes .cluster_id ,
1214
+ TuyaZBOnOffAttributeCluster ,
1215
+ Time .cluster_id ,
1216
+ TuyaZBMeteringClusterWithUnit ,
1217
+ TuyaZBElectricalMeasurement ,
1218
+ LightLink .cluster_id ,
1219
+ TuyaZB1888Cluster ,
1220
+ TuyaZBE000Cluster ,
1221
+ ],
1222
+ OUTPUT_CLUSTERS : [
1223
+ Ota .cluster_id ,
1224
+ ],
1225
+ },
1226
+ },
1227
+ }
1228
+
1229
+
1173
1230
class Plug_2AC_var03 (CustomDevice ):
1174
1231
"""Tuya 2 socket wall outlet with child lock and power-restore state support."""
1175
1232
You can’t perform that action at this time.
0 commit comments