diff --git a/homeassistant/components/august/__init__.py b/homeassistant/components/august/__init__.py index f4e048ecf16..8be7d8dd2d1 100644 --- a/homeassistant/components/august/__init__.py +++ b/homeassistant/components/august/__init__.py @@ -142,6 +142,11 @@ class AugustData(AugustSubscriberMixin): self._house_ids: set[str] = set() self._pubnub_unsub: CALLBACK_TYPE | None = None + @property + def brand(self) -> str: + """Brand of the device.""" + return self._config_entry.data.get(CONF_BRAND, DEFAULT_BRAND) + async def async_setup(self): """Async setup of august device data and activities.""" token = self._august_gateway.access_token @@ -194,7 +199,7 @@ class AugustData(AugustSubscriberMixin): self._pubnub_unsub = async_create_pubnub( user_data["UserID"], pubnub, - self._config_entry.data.get(CONF_BRAND, DEFAULT_BRAND), + self.brand, ) if self._locks_by_id: diff --git a/homeassistant/components/august/entity.py b/homeassistant/components/august/entity.py index 2f163469bfa..0b7a42267d8 100644 --- a/homeassistant/components/august/entity.py +++ b/homeassistant/components/august/entity.py @@ -3,6 +3,7 @@ from abc import abstractmethod from yalexs.doorbell import Doorbell from yalexs.lock import Lock +from yalexs.util import get_configuration_url from homeassistant.core import callback from homeassistant.helpers.entity import DeviceInfo, Entity @@ -30,7 +31,7 @@ class AugustEntityMixin(Entity): name=device.device_name, sw_version=self._detail.firmware_version, suggested_area=_remove_device_types(device.device_name, DEVICE_TYPES), - configuration_url="https://account.august.com", + configuration_url=get_configuration_url(data.brand), ) @property diff --git a/homeassistant/components/august/manifest.json b/homeassistant/components/august/manifest.json index 56965dff850..eeaa5f6c622 100644 --- a/homeassistant/components/august/manifest.json +++ b/homeassistant/components/august/manifest.json @@ -28,5 +28,5 @@ "documentation": "https://www.home-assistant.io/integrations/august", "iot_class": "cloud_push", "loggers": ["pubnub", "yalexs"], - "requirements": ["yalexs==1.4.6", "yalexs-ble==2.1.17"] + "requirements": ["yalexs==1.5.1", "yalexs-ble==2.1.17"] } diff --git a/requirements_all.txt b/requirements_all.txt index 50543d1a49b..c685edaa5b7 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2697,7 +2697,7 @@ yalesmartalarmclient==0.3.9 yalexs-ble==2.1.17 # homeassistant.components.august -yalexs==1.4.6 +yalexs==1.5.1 # homeassistant.components.yeelight yeelight==0.7.10 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 68dd5812545..8719e908495 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1964,7 +1964,7 @@ yalesmartalarmclient==0.3.9 yalexs-ble==2.1.17 # homeassistant.components.august -yalexs==1.4.6 +yalexs==1.5.1 # homeassistant.components.yeelight yeelight==0.7.10