Skip to content

Commit

Permalink
Update motion_sensor.py
Browse files Browse the repository at this point in the history
To support VALLHORN Motion Sensor, it uses is_detected
  • Loading branch information
sanjoyg authored Apr 3, 2024
1 parent e08f1d6 commit 0a59a98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dirigera/devices/motion_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 0a59a98

Please sign in to comment.