Camera metadata with basic data
This commit is contained in:
parent
13b190a8ca
commit
b1413ca66c
2 changed files with 12 additions and 1 deletions
|
|
@ -1093,3 +1093,9 @@ class StreamingPiCamera2(BaseCamera):
|
|||
to be static (except "reset")
|
||||
"""
|
||||
return tf_utils.lst_is_static(self.tuning)
|
||||
|
||||
def get_thing_state(self) -> Mapping[str, Any]:
|
||||
"""Update generic camera metadata with Picamera-specific data."""
|
||||
state = super().get_thing_state()
|
||||
state["camera_board"] = self._camera_board
|
||||
return state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue