diff --git a/zhaquirks/tuya/ts130f.py b/zhaquirks/tuya/ts130f.py index 9364ae86e9..71aea08e36 100644 --- a/zhaquirks/tuya/ts130f.py +++ b/zhaquirks/tuya/ts130f.py @@ -164,6 +164,52 @@ class TuyaZemismartTS130F(CustomDevice): } +class TuyaZemismartWNEC1ETS130F(CustomDevice): + """Tuya ZemiSmart smart curtain roller shutter. WN-EC1E version.""" + + signature = { + # SizePrefixedSimpleDescriptor(endpoint=1, profile=104, device_type=0x0202, device_version=1, input_clusters=[0x0000, 0x0003, 0x0004, 0x0005, 0x0102], output_clusters=[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, + ], + OUTPUT_CLUSTERS: [ + Time.cluster_id, + Ota.cluster_id, + ], + }, + }, + } + replacement = { + ENDPOINTS: { + 1: { + PROFILE_ID: zha.PROFILE_ID, + DEVICE_TYPE: zha.DeviceType.WINDOW_COVERING_DEVICE, + INPUT_CLUSTERS: [ + Basic.cluster_id, + Groups.cluster_id, + Scenes.cluster_id, + TuyaWithBacklightOnOffCluster, + TuyaCoveringCluster, + ], + OUTPUT_CLUSTERS: [ + Time.cluster_id, + Ota.cluster_id, + ], + }, + }, + } + + class TuyaTS130FTOGP(CustomDevice): """Tuya Oxt smart curtain roller shutter."""