diff --git a/tests/test_tuya_motion.py b/tests/test_tuya_motion.py index 10e1d08fa7..a11f9d2740 100644 --- a/tests/test_tuya_motion.py +++ b/tests/test_tuya_motion.py @@ -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), diff --git a/zhaquirks/tuya/ts0601_motion.py b/zhaquirks/tuya/ts0601_motion.py index 2c12194c7e..65ac8521e2 100644 --- a/zhaquirks/tuya/ts0601_motion.py +++ b/zhaquirks/tuya/ts0601_motion.py @@ -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,