From 772918c7bf8390fc999140d23b4048cbb1fb194b Mon Sep 17 00:00:00 2001 From: Lance Moss <3811110+mossyhub@users.noreply.github.com> Date: Sat, 16 Sep 2023 22:50:22 -0700 Subject: [PATCH 1/2] Add another Tuya blind motor This roller blind is sold on Amazon USA under the brand name HILADUO. I have already added this as a custom quirk and tested it with my own blinds. --- zhaquirks/tuya/ts0601_cover.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zhaquirks/tuya/ts0601_cover.py b/zhaquirks/tuya/ts0601_cover.py index 24af17998e..45b0be7168 100644 --- a/zhaquirks/tuya/ts0601_cover.py +++ b/zhaquirks/tuya/ts0601_cover.py @@ -373,6 +373,7 @@ class TuyaMoesCover0601(TuyaWindowCover): ("_TZE200_7eue9vhc", "TS0601"), ("_TZE200_bv1jcqqu", "TS0601"), ("_TZE200_nw1r9hp6", "TS0601"), + ("_TZE200_9p5xmj5r", "TS0601") ], ENDPOINTS: { 1: { From fe999b9c5cdc5199efcf29b4176f1843fbc9ac73 Mon Sep 17 00:00:00 2001 From: Lance Moss <3811110+mossyhub@users.noreply.github.com> Date: Tue, 19 Sep 2023 09:29:19 -0700 Subject: [PATCH 2/2] Update ts0601_cover.py moved it to the correct inverted class and added the required comma --- zhaquirks/tuya/ts0601_cover.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zhaquirks/tuya/ts0601_cover.py b/zhaquirks/tuya/ts0601_cover.py index 45b0be7168..e572fbfebf 100644 --- a/zhaquirks/tuya/ts0601_cover.py +++ b/zhaquirks/tuya/ts0601_cover.py @@ -373,7 +373,6 @@ class TuyaMoesCover0601(TuyaWindowCover): ("_TZE200_7eue9vhc", "TS0601"), ("_TZE200_bv1jcqqu", "TS0601"), ("_TZE200_nw1r9hp6", "TS0601"), - ("_TZE200_9p5xmj5r", "TS0601") ], ENDPOINTS: { 1: { @@ -481,6 +480,7 @@ class TuyaMoesCover0601_inv_position(TuyaWindowCover): ("_TZE200_3i3exuay", "TS0601"), ("_TZE200_nogaemzt", "TS0601"), ("_TZE200_dng9fn0k", "TS0601"), + ("_TZE200_9p5xmj5r", "TS0601"), ], ENDPOINTS: { 1: {