Skip to content

Commit dda954e

Browse files
committed
Correct warning-string
1 parent bd8b2cf commit dda954e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/plugwise_usb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ async def async_remove_config_entry_device(
192192
try:
193193
await api_stick.unregister_node(mac)
194194
except NodeError as exc:
195-
_LOGGER.warning(f"Plugwise node %s unregistering failed: {exc}", mac)
195+
_LOGGER.warning("Plugwise node %s unregistering failed: %s", mac, exc)
196196
return True # Must return True for device_registry removal to happen!
197197

198198
_LOGGER.debug("Plugwise device %s successfully removed", mac)

0 commit comments

Comments
 (0)