File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -660,8 +660,7 @@ async def set_motion_reset_timer(self, minutes: int) -> bool:
660660 """
661661
662662 async def set_motion_sensitivity_level (
663- self ,
664- level : MotionSensitivity | int | str
663+ self , level : MotionSensitivity | int | str
665664 ) -> bool :
666665 """Configure motion sensitivity level.
667666
Original file line number Diff line number Diff line change @@ -494,16 +494,12 @@ async def scan_configure(self) -> bool:
494494
495495 async def _scan_configure_update (self ) -> None :
496496 """Push scan configuration update to cache."""
497- self ._set_cache (
498- CACHE_SCAN_CONFIG_RESET_TIMER , str (self .reset_timer )
499- )
497+ self ._set_cache (CACHE_SCAN_CONFIG_RESET_TIMER , str (self .reset_timer ))
500498 self ._set_cache (
501499 CACHE_SCAN_CONFIG_SENSITIVITY ,
502500 self ._motion_config .sensitivity_level .name ,
503501 )
504- self ._set_cache (
505- CACHE_SCAN_CONFIG_DAYLIGHT_MODE , str (self .daylight_mode )
506- )
502+ self ._set_cache (CACHE_SCAN_CONFIG_DAYLIGHT_MODE , str (self .daylight_mode ))
507503 self ._set_cache (CACHE_SCAN_CONFIG_DIRTY , str (self .dirty ))
508504 await gather (
509505 self .publish_feature_update_to_subscribers (
You can’t perform that action at this time.
0 commit comments