mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Update yalexs to 6.1.0 (#119910)
This commit is contained in:
parent
39e5e517b0
commit
025d861e67
@ -84,10 +84,7 @@ def _retrieve_ding_state(data: AugustData, detail: DoorbellDetail | LockDetail)
|
||||
if latest is None:
|
||||
return False
|
||||
|
||||
if (
|
||||
data.activity_stream.pubnub.connected
|
||||
and latest.action == ACTION_DOORBELL_CALL_MISSED
|
||||
):
|
||||
if data.push_updates_connected and latest.action == ACTION_DOORBELL_CALL_MISSED:
|
||||
return False
|
||||
|
||||
return _activity_time_based_state(latest)
|
||||
|
@ -53,7 +53,7 @@ class AugustLock(AugustEntityMixin, RestoreEntity, LockEntity):
|
||||
async def async_lock(self, **kwargs: Any) -> None:
|
||||
"""Lock the device."""
|
||||
assert self._data.activity_stream is not None
|
||||
if self._data.activity_stream.pubnub.connected:
|
||||
if self._data.push_updates_connected:
|
||||
await self._data.async_lock_async(self._device_id, self._hyper_bridge)
|
||||
return
|
||||
await self._call_lock_operation(self._data.async_lock)
|
||||
@ -61,7 +61,7 @@ class AugustLock(AugustEntityMixin, RestoreEntity, LockEntity):
|
||||
async def async_open(self, **kwargs: Any) -> None:
|
||||
"""Open/unlatch the device."""
|
||||
assert self._data.activity_stream is not None
|
||||
if self._data.activity_stream.pubnub.connected:
|
||||
if self._data.push_updates_connected:
|
||||
await self._data.async_unlatch_async(self._device_id, self._hyper_bridge)
|
||||
return
|
||||
await self._call_lock_operation(self._data.async_unlatch)
|
||||
@ -69,7 +69,7 @@ class AugustLock(AugustEntityMixin, RestoreEntity, LockEntity):
|
||||
async def async_unlock(self, **kwargs: Any) -> None:
|
||||
"""Unlock the device."""
|
||||
assert self._data.activity_stream is not None
|
||||
if self._data.activity_stream.pubnub.connected:
|
||||
if self._data.push_updates_connected:
|
||||
await self._data.async_unlock_async(self._device_id, self._hyper_bridge)
|
||||
return
|
||||
await self._call_lock_operation(self._data.async_unlock)
|
||||
|
@ -28,5 +28,5 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/august",
|
||||
"iot_class": "cloud_push",
|
||||
"loggers": ["pubnub", "yalexs"],
|
||||
"requirements": ["yalexs==6.0.0", "yalexs-ble==2.4.2"]
|
||||
"requirements": ["yalexs==6.1.0", "yalexs-ble==2.4.2"]
|
||||
}
|
||||
|
@ -2939,7 +2939,7 @@ yalesmartalarmclient==0.3.9
|
||||
yalexs-ble==2.4.2
|
||||
|
||||
# homeassistant.components.august
|
||||
yalexs==6.0.0
|
||||
yalexs==6.1.0
|
||||
|
||||
# homeassistant.components.yeelight
|
||||
yeelight==0.7.14
|
||||
|
@ -2295,7 +2295,7 @@ yalesmartalarmclient==0.3.9
|
||||
yalexs-ble==2.4.2
|
||||
|
||||
# homeassistant.components.august
|
||||
yalexs==6.0.0
|
||||
yalexs==6.1.0
|
||||
|
||||
# homeassistant.components.yeelight
|
||||
yeelight==0.7.14
|
||||
|
Loading…
x
Reference in New Issue
Block a user