Starting to test more smart scan functionality using mocked Thing Dependencies

This commit is contained in:
Julian Stirling 2025-06-16 05:03:57 +01:00
parent 3aa9b9100a
commit 7193ec34f5
7 changed files with 184 additions and 1 deletions

View file

@ -138,7 +138,9 @@ class SmartScanThing(Thing):
self._capture_thread = None
self._scan_images_taken = 0
# Don't set self._scan_data dictionary. This is done at the start of _run_scan
# Set _scan_data to None. It will for error checking. It will be set to a value
# by _run_scan
self._scan_data = None
try:
self._check_background_and_csm_set()