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 6627c8f commit 8ee62f2Copy full SHA for 8ee62f2
plugwise_usb/nodes/scan.py
@@ -209,7 +209,7 @@ def _sensitivity_level_from_cache(self) -> MotionSensitivity | None:
209
if (
210
sensitivity_level := self._get_cache(CACHE_SCAN_CONFIG_SENSITIVITY)
211
) is not None:
212
- return MotionSensitivity([sensitivity_level])
+ return MotionSensitivity[sensitivity_level]
213
return None
214
215
def _motion_config_dirty_from_cache(self) -> bool:
0 commit comments