Make thing state mutable within the method
This commit is contained in:
parent
e0ce40607b
commit
f8ee71b9c0
1 changed files with 1 additions and 1 deletions
|
|
@ -1097,6 +1097,6 @@ class StreamingPiCamera2(BaseCamera):
|
|||
@property
|
||||
def thing_state(self) -> Mapping[str, Any]:
|
||||
"""Update generic camera metadata with Picamera-specific data."""
|
||||
state = super().thing_state
|
||||
state = dict(super().thing_state)
|
||||
state["camera_board"] = self._camera_board
|
||||
return state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue