Skip to content

Commit a3a207a

Browse files
authored
Update motion_sensor attributes
1 parent 353acc2 commit a3a207a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ motions_sensors = dirigera_hub.get_motion_sensors()
562562
The motion sensor object has the following attributes (additional to the core attributes):
563563

564564
```python
565-
battery_percentage: int
565+
battery_percentage: Optional[int] = None
566566
is_on: bool
567567
light_level: Optional[float] = None
568568
is_detected: Optional[bool] = False

0 commit comments

Comments
 (0)