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 4d91a9f commit cb0cd1bCopy full SHA for cb0cd1b
custom_components/plugwise_usb/__init__.py
@@ -190,8 +190,8 @@ async def async_remove_config_entry_device(
190
try:
191
await api_stick.unregister_node(mac)
192
except NodeError:
193
- _LOGGER.error("Plugwise device %s removal failed with NodeError", mac)
194
- return False
+ _LOGGER.warning("Plugwise node %s unregistering failed with NodeError", mac)
+ return True # Must return True for device_registry removal to happen!
195
196
_LOGGER.debug("Plugwise device %s successfully removed", mac)
197
return True
0 commit comments