diff --git a/zhaquirks/xiaomi/aqara/motion_ac02.py b/zhaquirks/xiaomi/aqara/motion_ac02.py
index <HASH>..<HASH> 100644
--- a/zhaquirks/xiaomi/aqara/motion_ac02.py
+++ b/zhaquirks/xiaomi/aqara/motion_ac02.py
@@ -71,11 +71,27 @@ class LocalIlluminanceMeasurementCluster(
 ):
     """Local lluminance measurement cluster."""
 
+    def illuminance_reported(self, value):
+        """Illuminance reported."""
+        if 0 > value or value > 0xFFDC:
+            _LOGGER.debug(
+                "Received invalid illuminance value: %s - setting illuminance to 0",
+                value,
+            )
+            value = 0
+        super().illuminance_reported(value)
+
 
 class LocalOccupancyCluster(LocalDataCluster, OccupancyCluster):
     """Local occupancy cluster."""
 
 
+class LocalMotionCluster(MotionCluster):
+    """Local motion cluster."""
+
+    reset_s: int = 30
+
+
 class LumiMotionAC02(CustomDevice):
     """Lumi lumi.motion.ac02 (RTCGQ14LM) custom device implementation."""
 
@@ -119,7 +135,7 @@ class LumiMotionAC02(CustomDevice):
                     XiaomiPowerConfiguration,
                     Identify.cluster_id,
                     LocalOccupancyCluster,
-                    MotionCluster,
+                    LocalMotionCluster,
                     LocalIlluminanceMeasurementCluster,
                     OppleCluster,
                 ],
Small tweaks to Aqara P1 motion sensor (#<I>)

* Small tweaks to Aqara P1 motion sensor



* add debug line



* discard values over FFDC and set to 0



* update debug log