diff options
author | Evgeny Sorokin <me@ch1p.io> | 2024-01-16 03:31:55 +0300 |
---|---|---|
committer | Evgeny Sorokin <me@ch1p.io> | 2024-01-16 03:32:07 +0300 |
commit | 8a89dd77be03ca8eb9cdc378ba8e912292494fa9 (patch) | |
tree | f2d04c1a6ce8b2731febbf6b66f6127057f9477d /include/py/homekit/inverter/config.py | |
parent | de56aa3ae916ac0d51e503648fae8f3fa2d97951 (diff) |
inverter page
Diffstat (limited to 'include/py/homekit/inverter/config.py')
-rw-r--r-- | include/py/homekit/inverter/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/py/homekit/inverter/config.py b/include/py/homekit/inverter/config.py index e284dfe..694ddae 100644 --- a/include/py/homekit/inverter/config.py +++ b/include/py/homekit/inverter/config.py @@ -8,6 +8,6 @@ class InverterdConfig(ConfigUnit): @classmethod def schema(cls) -> Optional[dict]: return { - 'remote_addr': {'type': 'string'}, - 'local_addr': {'type': 'string'}, + 'remote_addr': cls._addr_schema(required=True), + 'local_addr': cls._addr_schema(required=True), }
\ No newline at end of file |