Add button to wake august locks from deep sleep (#66343)
This commit is contained in:
parent
0797533016
commit
a6742eff34
7 changed files with 83 additions and 11 deletions
|
@ -36,6 +36,11 @@ class AugustEntityMixin(Entity):
|
|||
def _detail(self):
|
||||
return self._data.get_device_detail(self._device.device_id)
|
||||
|
||||
@property
|
||||
def _hyper_bridge(self):
|
||||
"""Check if the lock has a paired hyper bridge."""
|
||||
return bool(self._detail.bridge and self._detail.bridge.hyper_bridge)
|
||||
|
||||
@callback
|
||||
def _update_from_data_and_write_state(self):
|
||||
self._update_from_data()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue