diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2024-02-17 02:41:37 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2024-02-17 02:41:37 +0300 |
commit | 05c85757b8e2340441057d9ddfde2e9649ae8676 (patch) | |
tree | fa03fc1c81511bdbc3c464b403b13f6a4fb23514 /include/py/homekit/camera | |
parent | d237e81873a9e043f579e7f6a979f00510ddce08 (diff) |
save
Diffstat (limited to 'include/py/homekit/camera')
-rw-r--r-- | include/py/homekit/camera/config.py | 9 |
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}, + } } } |