Skip to content

Commit 8335cd6

Browse files
authored
Add Tuya motion sensor _TZE204_ya4ft0w4 variant (#3669)
1 parent 5b001f1 commit 8335cd6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/test_tuya_motion.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"model,manuf,occ_msg",
2525
[
2626
("_TZE200_ya4ft0w4", "TS0601", ZCL_TUYA_MOTION),
27+
("_TZE204_ya4ft0w4", "TS0601", ZCL_TUYA_MOTION),
2728
("_TZE200_7hfcudw5", "TS0601", ZCL_TUYA_MOTION_V2),
2829
("_TZE200_ppuj1vem", "TS0601", ZCL_TUYA_MOTION_V2),
2930
("_TZE200_ar0slwnd", "TS0601", ZCL_TUYA_MOTION),

zhaquirks/tuya/ts0601_motion.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ class TuyaSelfCheckResult(t.enum8):
126126
(
127127
base_tuya_motion.clone()
128128
.applies_to("_TZE200_ya4ft0w4", "TS0601")
129+
.applies_to("_TZE204_ya4ft0w4", "TS0601")
129130
.tuya_dp(
130131
dp_id=1,
131132
ep_attribute=TuyaOccupancySensing.ep_attribute,

0 commit comments

Comments
 (0)