blob: 0383e9653ea3e60bd643fcfab2623a064de889c1 (
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': cls._addr_schema(required=True),
'local_addr': cls._addr_schema(required=True),
}
|