Skip to content

Commit 50bb816

Browse files
committed
Fix removed constant
1 parent 8ee62f2 commit 50bb816

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
@@ -446,7 +446,7 @@ async def scan_configure(self) -> bool:
446446
"""Configure Scan device settings. Returns True if successful."""
447447
# Default to medium
448448
sensitivity_value = SENSITIVITY_MAP.get(
449-
self._motion_config.sensitivity_level, SENSITIVITY_MEDIUM_VALUE
449+
self._motion_config.sensitivity_level, MotionSensitivity.MEDIUM
450450
)
451451
request = ScanConfigureRequest(
452452
self._send,

0 commit comments

Comments
 (0)