Skip to content

Commit

Permalink
0.23.5 (#681)
Browse files Browse the repository at this point in the history
* Update build workflow (#679)

* Accept any AsusRouterError in setup (#680)

* Bump version to `0.23.5`
  • Loading branch information
Vaskivskyi authored Nov 5, 2023
1 parent aebf61a commit 1f6e562
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
pull_request:
types: [edited, labeled, opened, reopened]
types: [edited, labeled, opened, reopened, synchronize]
schedule:
- cron: '0 0 * * *'

Expand Down
2 changes: 1 addition & 1 deletion custom_components/asusrouter/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"manufacturer": "ASUSTeK Computer Inc."
}
],
"version": "0.23.4"
"version": "0.23.5"
}
4 changes: 2 additions & 2 deletions custom_components/asusrouter/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1f6e562

Please sign in to comment.