We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb0cd1b commit 42b6ef0Copy full SHA for 42b6ef0
custom_components/plugwise_usb/__init__.py
@@ -189,8 +189,8 @@ async def async_remove_config_entry_device(
189
mac = identifier[1]
190
try:
191
await api_stick.unregister_node(mac)
192
- except NodeError:
193
- _LOGGER.warning("Plugwise node %s unregistering failed with NodeError", mac)
+ except NodeError as exc:
+ _LOGGER.warning(f"Plugwise node %s unregistering failed: {exc}", mac)
194
return True # Must return True for device_registry removal to happen!
195
196
_LOGGER.debug("Plugwise device %s successfully removed", mac)
0 commit comments