Skip to content

Commit b1f5a5a

Browse files
committed
print wrong value of level in de log
1 parent 2d51348 commit b1f5a5a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugwise_usb/nodes/scan.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,9 @@ async def set_motion_sensitivity_level(
341341
level = MotionSensitivity(level)
342342
except ValueError:
343343
_LOGGER.exception(
344-
"MotionSensitivity for %s: value error ", self._mac_in_str
344+
"MotionSensitivity for %s: invalid numeric value %s",
345+
self._mac_in_str,
346+
str(level),
345347
)
346348
return False
347349

0 commit comments

Comments
 (0)