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 5106e81 commit eb6f675Copy full SHA for eb6f675
plugwise_usb/nodes/scan.py
@@ -207,7 +207,7 @@ def _sensitivity_level_from_cache(self) -> MotionSensitivity | None:
207
if (
208
sensitivity_level := self._get_cache(CACHE_SCAN_CONFIG_SENSITIVITY)
209
) is not None:
210
- return MotionSensitivity[sensitivity_level]
+ return MotionSensitivity(sensitivity_level)
211
return None
212
213
def _motion_config_dirty_from_cache(self) -> bool:
0 commit comments