diff --git a/zhaquirks/tuya/ts130f.py b/zhaquirks/tuya/ts130f.py index a0bfdd13f6..eb0c4058fa 100644 --- a/zhaquirks/tuya/ts130f.py +++ b/zhaquirks/tuya/ts130f.py @@ -27,7 +27,11 @@ PROFILE_ID, ) from zhaquirks.legacy import CustomDevice -from zhaquirks.tuya import SwitchBackLight, TuyaZBExternalSwitchTypeCluster +from zhaquirks.tuya import ( + TUYA_CLUSTER_ID, + SwitchBackLight, + TuyaZBExternalSwitchTypeCluster, +) ATTR_CURRENT_POSITION_LIFT_PERCENTAGE = 0x0008 CMD_GO_TO_LIFT_PERCENTAGE = 0x0005 @@ -679,3 +683,60 @@ class TuyaTS130Double_GP_ESTC(CustomDevice): }, }, } + + +class TuyaTS130FIdentifyMCUGP(CustomDevice): + """Tuya smart curtain roller shutter with Identify, Tuya MCU cluster and Green Power.""" + + signature = { + # SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=0x0202, device_version=1, input_clusters=[0x0000, 0x0003, 0x0004, 0x0005, 0x0006, 0x0102, 0xef00], output_clusters=[0x000a, 0x0019])) + MODEL: "TS130F", + ENDPOINTS: { + 1: { + PROFILE_ID: zha.PROFILE_ID, + DEVICE_TYPE: zha.DeviceType.WINDOW_COVERING_DEVICE, + INPUT_CLUSTERS: [ + Basic.cluster_id, + Identify.cluster_id, + Groups.cluster_id, + Scenes.cluster_id, + OnOff.cluster_id, + WindowCovering.cluster_id, + TUYA_CLUSTER_ID, + ], + OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id], + }, + 242: { + #