From f5bc7c38ab96064016e36164eb6d17069143c5e9 Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk Date: Thu, 5 Feb 2026 18:15:48 +0100 Subject: [PATCH] Don't disconnect and log a warning when no Plus-device is found --- custom_components/plugwise_usb/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/custom_components/plugwise_usb/__init__.py b/custom_components/plugwise_usb/__init__.py index 8a35c6b5..ed49c8d8 100644 --- a/custom_components/plugwise_usb/__init__.py +++ b/custom_components/plugwise_usb/__init__.py @@ -102,9 +102,10 @@ async def async_node_discovered(node_event: NodeEvent, mac: str) -> None: _LOGGER.info("Start to discover the Plugwise network coordinator (Circle+)") try: await api_stick.discover_coordinator(load=False) - except StickError as exc: - await api_stick.disconnect() - raise ConfigEntryNotReady("Failed to connect to Circle+") from exc + except StickError: # as exc: + # await api_stick.disconnect() + # raise ConfigEntryNotReady("Failed to connect to Circle+") from exc + _LOGGER.warning("Failed to connect to Circle+") # Load platforms to allow them to register for node events await hass.config_entries.async_forward_entry_setups(