Skip to content

Commit 1f6e562

Browse files
authored
0.23.5 (#681)
* Update build workflow (#679) * Accept any AsusRouterError in setup (#680) * Bump version to `0.23.5`
1 parent aebf61a commit 1f6e562

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
pull_request:
8-
types: [edited, labeled, opened, reopened]
8+
types: [edited, labeled, opened, reopened, synchronize]
99
schedule:
1010
- cron: '0 0 * * *'
1111

custom_components/asusrouter/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
"manufacturer": "ASUSTeK Computer Inc."
1515
}
1616
],
17-
"version": "0.23.4"
17+
"version": "0.23.5"
1818
}

custom_components/asusrouter/router.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from datetime import datetime, timedelta, timezone
88
from typing import Any, Optional
99

10-
from asusrouter.error import AsusRouterAccessError
10+
from asusrouter.error import AsusRouterError
1111
from asusrouter.modules.connection import ConnectionState, ConnectionType
1212
from asusrouter.modules.identity import AsusDevice
1313
from homeassistant.components.device_tracker import CONF_CONSIDER_HOME
@@ -287,7 +287,7 @@ async def setup(self) -> None:
287287
# Connect & check connection
288288
try:
289289
await self.bridge.async_connect()
290-
except (OSError, AsusRouterAccessError) as ex:
290+
except (OSError, AsusRouterError) as ex:
291291
raise ConfigEntryNotReady from ex
292292
if not self.bridge.connected:
293293
raise ConfigEntryNotReady

0 commit comments

Comments
 (0)