Add "board" to all device states

This commit is contained in:
Joel Collins 2019-09-19 17:22:04 +01:00
parent b0be4fc26a
commit 33af3bf48c
3 changed files with 18 additions and 5 deletions

View file

@ -25,7 +25,11 @@ class MockStreamer(BaseCamera):
BaseCamera.__init__(self)
# Store state of PiCameraStreamer
self.state.update({"stream_active": False, "record_active": False})
self.state.update({
"stream_active": False,
"record_active": False,
"board": None
})
# Update config properties
self.image_resolution = (1312, 976)