Skip to content

Commit 8e97d35

Browse files
committed
Accept unavailable Network Coordinator
1 parent 10c0613 commit 8e97d35

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugwise_usb/network/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,7 @@ async def start(self) -> None:
512512

513513
async def discover_nodes(self, load: bool = True) -> bool:
514514
"""Discover nodes."""
515-
if not await self.discover_network_coordinator(load=load):
516-
return False
515+
await self.discover_network_coordinator(load=load)
517516
if not self._is_running:
518517
await self.start()
519518
await self._discover_registered_nodes()

0 commit comments

Comments
 (0)