Skip to content

Commit 007b2fe

Browse files
dirixmjmbouwew
authored andcommitted
bugfix ()=>[]
1 parent 3e1181e commit 007b2fe

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
@@ -209,7 +209,7 @@ def _sensitivity_level_from_cache(self) -> MotionSensitivity | None:
209209
if (
210210
sensitivity_level := self._get_cache(CACHE_SCAN_CONFIG_SENSITIVITY)
211211
) is not None:
212-
return MotionSensitivity([sensitivity_level])
212+
return MotionSensitivity[sensitivity_level]
213213
return None
214214

215215
def _motion_config_dirty_from_cache(self) -> bool:

0 commit comments

Comments
 (0)