From 0a59a9818aa06f94e3987438bbc2d1962f6ac6bd Mon Sep 17 00:00:00 2001 From: Sanjoy Ghosh Date: Thu, 4 Apr 2024 00:20:33 +0530 Subject: [PATCH] Update motion_sensor.py To support VALLHORN Motion Sensor, it uses is_detected --- src/dirigera/devices/motion_sensor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dirigera/devices/motion_sensor.py b/src/dirigera/devices/motion_sensor.py index 5220e01..f1c9053 100644 --- a/src/dirigera/devices/motion_sensor.py +++ b/src/dirigera/devices/motion_sensor.py @@ -8,6 +8,7 @@ class MotionSensorAttributes(Attributes): battery_percentage: int is_on: bool light_level: Optional[float] = None + is_detected: Optional[bool] = False class MotionSensor(Device):