Add limits to background detect and settling time settings
This commit is contained in:
parent
ba8de65fd2
commit
06f12973f4
2 changed files with 5 additions and 5 deletions
|
|
@ -565,7 +565,7 @@ class BaseCamera(lt.Thing):
|
|||
except Exception as e:
|
||||
raise IOError(f"An error occurred while saving {jpeg_path}") from e
|
||||
|
||||
settling_time: float = lt.setting(default=0.2)
|
||||
settling_time: float = lt.setting(default=0.2, ge=0)
|
||||
"""The settling time when calling the ``settle()`` method."""
|
||||
|
||||
@lt.action
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue