diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0eece12..d86901e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -5,7 +5,7 @@ on: branches: - main pull_request: - types: [edited, labeled, opened, reopened] + types: [edited, labeled, opened, reopened, synchronize] schedule: - cron: '0 0 * * *' diff --git a/custom_components/asusrouter/manifest.json b/custom_components/asusrouter/manifest.json index 93e3522..47067e0 100644 --- a/custom_components/asusrouter/manifest.json +++ b/custom_components/asusrouter/manifest.json @@ -14,5 +14,5 @@ "manufacturer": "ASUSTeK Computer Inc." } ], - "version": "0.23.4" + "version": "0.23.5" } diff --git a/custom_components/asusrouter/router.py b/custom_components/asusrouter/router.py index 96c27b2..123ce57 100644 --- a/custom_components/asusrouter/router.py +++ b/custom_components/asusrouter/router.py @@ -7,7 +7,7 @@ from datetime import datetime, timedelta, timezone from typing import Any, Optional -from asusrouter.error import AsusRouterAccessError +from asusrouter.error import AsusRouterError from asusrouter.modules.connection import ConnectionState, ConnectionType from asusrouter.modules.identity import AsusDevice from homeassistant.components.device_tracker import CONF_CONSIDER_HOME @@ -287,7 +287,7 @@ async def setup(self) -> None: # Connect & check connection try: await self.bridge.async_connect() - except (OSError, AsusRouterAccessError) as ex: + except (OSError, AsusRouterError) as ex: raise ConfigEntryNotReady from ex if not self.bridge.connected: raise ConfigEntryNotReady