summaryrefslogtreecommitdiff
path: root/include/py/homekit/camera
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-06-11 05:04:41 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-06-11 05:04:41 +0300
commit26bd30dff41f5f0e3857283155362a96c47ab9bb (patch)
tree6e64185d519295d1f5a4a38d9fd3d6362d2a19a3 /include/py/homekit/camera
parent62ee71fdb0eb07adbf0071103617aa96c993fe22 (diff)
minor fix
Diffstat (limited to 'include/py/homekit/camera')
-rw-r--r--include/py/homekit/camera/config.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/py/homekit/camera/config.py b/include/py/homekit/camera/config.py
index e0891a6..331e595 100644
--- a/include/py/homekit/camera/config.py
+++ b/include/py/homekit/camera/config.py
@@ -21,7 +21,6 @@ class IpcamConfig(ConfigUnit):
@classmethod
def schema(cls) -> Optional[dict]:
- lbc = LinuxBoardsConfig()
return {
'cams': {
'type': 'dict',
@@ -32,7 +31,7 @@ class IpcamConfig(ConfigUnit):
'type': {'type': 'string', 'allowed': [t.value for t in CameraType], 'required': True},
'codec': {'type': 'string', 'allowed': [t.value for t in VideoCodecType], 'required': True},
'container': {'type': 'string', 'allowed': [t.value for t in VideoContainerType], 'required': True},
- 'server': {'type': 'string', 'allowed': list(lbc.get().keys()), 'required': True},
+ 'server': {'type': 'string', 'allowed': list(_lbc.get().keys()), 'required': True},
'disk': {'type': 'integer', 'required': True},
'motion': {
'type': 'dict',