summaryrefslogtreecommitdiff
path: root/include/py/homekit/camera
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2024-02-17 02:41:37 +0300
committerEvgeny Zinoviev <me@ch1p.io>2024-02-17 02:41:37 +0300
commit05c85757b8e2340441057d9ddfde2e9649ae8676 (patch)
treefa03fc1c81511bdbc3c464b403b13f6a4fb23514 /include/py/homekit/camera
parentd237e81873a9e043f579e7f6a979f00510ddce08 (diff)
save
Diffstat (limited to 'include/py/homekit/camera')
-rw-r--r--include/py/homekit/camera/config.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/py/homekit/camera/config.py b/include/py/homekit/camera/config.py
index 8e9bfd5..8aeb392 100644
--- a/include/py/homekit/camera/config.py
+++ b/include/py/homekit/camera/config.py
@@ -73,6 +73,15 @@ class IpcamConfig(ConfigUnit):
'login': {'type': 'string', 'required': True},
'password': {'type': 'string', 'required': True},
}
+ },
+
+ 'web_creds': {
+ 'required': True,
+ 'type': 'dict',
+ 'schema': {
+ 'login': {'type': 'string', 'required': True},
+ 'password': {'type': 'string', 'required': True},
+ }
}
}