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

@ -120,7 +120,9 @@ class BaseCamera(metaclass=ABCMeta):
self.stream_timeout = 20
self.stream_timeout_enabled = False
self.state = {}
self.state = {
"board": None
}
# TODO: Load/save these to config
self.paths = {