Skip to content

Commit

Permalink
Add Tuya motion sensor _TZE204_ya4ft0w4 variant (#3669)
Browse files Browse the repository at this point in the history
  • Loading branch information
prairiesnpr authored Jan 4, 2025
1 parent 5b001f1 commit 8335cd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_tuya_motion.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"model,manuf,occ_msg",
[
("_TZE200_ya4ft0w4", "TS0601", ZCL_TUYA_MOTION),
("_TZE204_ya4ft0w4", "TS0601", ZCL_TUYA_MOTION),
("_TZE200_7hfcudw5", "TS0601", ZCL_TUYA_MOTION_V2),
("_TZE200_ppuj1vem", "TS0601", ZCL_TUYA_MOTION_V2),
("_TZE200_ar0slwnd", "TS0601", ZCL_TUYA_MOTION),
Expand Down
1 change: 1 addition & 0 deletions zhaquirks/tuya/ts0601_motion.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ class TuyaSelfCheckResult(t.enum8):
(
base_tuya_motion.clone()
.applies_to("_TZE200_ya4ft0w4", "TS0601")
.applies_to("_TZE204_ya4ft0w4", "TS0601")
.tuya_dp(
dp_id=1,
ep_attribute=TuyaOccupancySensing.ep_attribute,
Expand Down

0 comments on commit 8335cd6

Please sign in to comment.