aboutsummaryrefslogtreecommitdiff
path: root/src/home/inverter/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/home/inverter/config.py')
-rw-r--r--src/home/inverter/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/home/inverter/config.py b/src/home/inverter/config.py
index 62b8859..e284dfe 100644
--- a/src/home/inverter/config.py
+++ b/src/home/inverter/config.py
@@ -5,8 +5,8 @@ from typing import Optional
class InverterdConfig(ConfigUnit):
NAME = 'inverterd'
- @staticmethod
- def schema() -> Optional[dict]:
+ @classmethod
+ def schema(cls) -> Optional[dict]:
return {
'remote_addr': {'type': 'string'},
'local_addr': {'type': 'string'},