mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00
Bump yalexs to 8.0.2 (#123817)
This commit is contained in:
parent
493859e589
commit
f14d5ba5f2
@ -8,7 +8,7 @@ from typing import Any
|
|||||||
|
|
||||||
import aiohttp
|
import aiohttp
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
from yalexs.authenticator import ValidationResult
|
from yalexs.authenticator_common import ValidationResult
|
||||||
from yalexs.const import BRANDS, DEFAULT_BRAND
|
from yalexs.const import BRANDS, DEFAULT_BRAND
|
||||||
from yalexs.manager.exceptions import CannotConnect, InvalidAuth, RequireValidation
|
from yalexs.manager.exceptions import CannotConnect, InvalidAuth, RequireValidation
|
||||||
|
|
||||||
|
@ -28,5 +28,5 @@
|
|||||||
"documentation": "https://www.home-assistant.io/integrations/august",
|
"documentation": "https://www.home-assistant.io/integrations/august",
|
||||||
"iot_class": "cloud_push",
|
"iot_class": "cloud_push",
|
||||||
"loggers": ["pubnub", "yalexs"],
|
"loggers": ["pubnub", "yalexs"],
|
||||||
"requirements": ["yalexs==6.5.0", "yalexs-ble==2.4.3"]
|
"requirements": ["yalexs==8.0.2", "yalexs-ble==2.4.3"]
|
||||||
}
|
}
|
||||||
|
@ -2953,7 +2953,7 @@ yalesmartalarmclient==0.3.9
|
|||||||
yalexs-ble==2.4.3
|
yalexs-ble==2.4.3
|
||||||
|
|
||||||
# homeassistant.components.august
|
# homeassistant.components.august
|
||||||
yalexs==6.5.0
|
yalexs==8.0.2
|
||||||
|
|
||||||
# homeassistant.components.yeelight
|
# homeassistant.components.yeelight
|
||||||
yeelight==0.7.14
|
yeelight==0.7.14
|
||||||
|
@ -2336,7 +2336,7 @@ yalesmartalarmclient==0.3.9
|
|||||||
yalexs-ble==2.4.3
|
yalexs-ble==2.4.3
|
||||||
|
|
||||||
# homeassistant.components.august
|
# homeassistant.components.august
|
||||||
yalexs==6.5.0
|
yalexs==8.0.2
|
||||||
|
|
||||||
# homeassistant.components.yeelight
|
# homeassistant.components.yeelight
|
||||||
yeelight==0.7.14
|
yeelight==0.7.14
|
||||||
|
@ -25,7 +25,7 @@ from yalexs.activity import (
|
|||||||
DoorOperationActivity,
|
DoorOperationActivity,
|
||||||
LockOperationActivity,
|
LockOperationActivity,
|
||||||
)
|
)
|
||||||
from yalexs.authenticator import AuthenticationState
|
from yalexs.authenticator_common import AuthenticationState
|
||||||
from yalexs.const import Brand
|
from yalexs.const import Brand
|
||||||
from yalexs.doorbell import Doorbell, DoorbellDetail
|
from yalexs.doorbell import Doorbell, DoorbellDetail
|
||||||
from yalexs.lock import Lock, LockDetail
|
from yalexs.lock import Lock, LockDetail
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
from unittest.mock import patch
|
from unittest.mock import patch
|
||||||
|
|
||||||
from yalexs.authenticator import ValidationResult
|
from yalexs.authenticator_common import ValidationResult
|
||||||
from yalexs.manager.exceptions import CannotConnect, InvalidAuth, RequireValidation
|
from yalexs.manager.exceptions import CannotConnect, InvalidAuth, RequireValidation
|
||||||
|
|
||||||
from homeassistant import config_entries
|
from homeassistant import config_entries
|
||||||
|
@ -50,5 +50,5 @@ async def _patched_refresh_access_token(
|
|||||||
)
|
)
|
||||||
await august_gateway.async_refresh_access_token_if_needed()
|
await august_gateway.async_refresh_access_token_if_needed()
|
||||||
refresh_access_token_mock.assert_called()
|
refresh_access_token_mock.assert_called()
|
||||||
assert august_gateway.access_token == new_token
|
assert await august_gateway.async_get_access_token() == new_token
|
||||||
assert august_gateway.authentication.access_token_expires == new_token_expire_time
|
assert august_gateway.authentication.access_token_expires == new_token_expire_time
|
||||||
|
Loading…
x
Reference in New Issue
Block a user