Get UI working for background detector things

This commit is contained in:
Julian Stirling 2026-01-13 19:05:24 +00:00
parent 44860bf777
commit 3e8874188e
5 changed files with 70 additions and 38 deletions

View file

@ -234,7 +234,7 @@ class SmartScanThing(lt.Thing):
self._csm.assert_calibration()
if self.skip_background:
if not self._cam.background_detector_status.ready:
if not self._cam.active_detector.ready:
raise RuntimeError(
"Background is not set: you need to calibrate background detection."
)