Fix property name and call

This commit is contained in:
jaknapper 2025-10-20 17:21:47 +01:00 committed by Julian Stirling
parent b1413ca66c
commit e0ce40607b

View file

@ -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