diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2023-06-11 03:20:01 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2023-06-11 03:20:01 +0300 |
commit | 0109d6c01db94822757cd7cb84034dd6f4d6cea8 (patch) | |
tree | c5551dc0839d45251dff06001341375f209d9ba6 /include/py/homekit/inverter/monitor.py | |
parent | 975d2bc6ed6d588187fea4bb538e04ac30cbd989 (diff) |
inverter bot: migrate to PTB 20 (not tested yet)
Diffstat (limited to 'include/py/homekit/inverter/monitor.py')
-rw-r--r-- | include/py/homekit/inverter/monitor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/py/homekit/inverter/monitor.py b/include/py/homekit/inverter/monitor.py index 86f75ac..5955d92 100644 --- a/include/py/homekit/inverter/monitor.py +++ b/include/py/homekit/inverter/monitor.py @@ -25,7 +25,7 @@ def _pd_from_string(pd: str) -> BatteryPowerDirection: class MonitorConfig: def __getattr__(self, item): - return config['monitor'][item] + return config.app_config['monitor'][item] cfg = MonitorConfig() |