Skip to content

Commit a78207d

Browse files
committed
Fix sensitivity_level property
1 parent 8d7ba2c commit a78207d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise_usb/nodes/scan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def sensitivity_level(self) -> int:
278278
"""Sensitivity level of motion sensor."""
279279
if self._motion_config.sensitivity_level is not None:
280280
return self._motion_config.sensitivity_level
281-
return DEFAULT_SENSITIVITY
281+
return DEFAULT_SENSITIVITY.value
282282

283283
# endregion
284284
# region Configuration actions

0 commit comments

Comments
 (0)