summaryrefslogtreecommitdiff
path: root/include/py/homekit/inverter/config.py
blob: e284dfe0b94844268afafcbc9447e38f535b079f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from ..config import ConfigUnit
from typing import Optional


class InverterdConfig(ConfigUnit):
    NAME = 'inverterd'

    @classmethod
    def schema(cls) -> Optional[dict]:
        return {
            'remote_addr': {'type': 'string'},
            'local_addr': {'type': 'string'},
        }