We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a87c0ff commit 82abc1dCopy full SHA for 82abc1d
pymyq/garagedoor.py
@@ -51,6 +51,11 @@ def open_allowed(self) -> bool:
51
"""Return whether the device can be opened unattended."""
52
return self.device_json["state"].get("is_unattended_open_allowed") is True
53
54
+ @property
55
+ def low_battery(self) -> bool:
56
+ """Return whether the device has low battery."""
57
+ return self.device_json["state"].get("dps_low_battery_mode") is True
58
+
59
@property
60
def device_state(self) -> Optional[str]:
61
"""Return the current state of the device."""
0 commit comments