From e0ce40607b4842f044c7f78a88147197b363ccc7 Mon Sep 17 00:00:00 2001 From: jaknapper Date: Mon, 20 Oct 2025 17:21:47 +0100 Subject: [PATCH] Fix property name and call --- src/openflexure_microscope_server/things/camera/picamera.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/openflexure_microscope_server/things/camera/picamera.py b/src/openflexure_microscope_server/things/camera/picamera.py index a6b851c9..79c19c1f 100644 --- a/src/openflexure_microscope_server/things/camera/picamera.py +++ b/src/openflexure_microscope_server/things/camera/picamera.py @@ -1094,8 +1094,9 @@ class StreamingPiCamera2(BaseCamera): """ return tf_utils.lst_is_static(self.tuning) - def get_thing_state(self) -> Mapping[str, Any]: + @property + def thing_state(self) -> Mapping[str, Any]: """Update generic camera metadata with Picamera-specific data.""" - state = super().get_thing_state() + state = super().thing_state state["camera_board"] = self._camera_board return state