diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-10-19 05:24:34 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-10-19 05:24:34 +0300 |
commit | a12e3bc0b22697947dabcf90bae247b19d089a1e (patch) | |
tree | 46d5c9b06e3b66fe0e897a1742717fce5fd9aafb | |
parent | 990e078505d554d62b2086eedbf2be75d2130642 (diff) |
inverter_bot: fix stupid mistake
-rwxr-xr-x | src/inverter_bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inverter_bot.py b/src/inverter_bot.py index 7fe0ae2..0807b23 100755 --- a/src/inverter_bot.py +++ b/src/inverter_bot.py @@ -72,7 +72,7 @@ def monitor_charging(event: ChargingEvent, **kwargs) -> None: key = 'na_solar' elif event == ChargingEvent.AC_MOSTLY_CHARGED: key = 'mostly_charged' - elif event == ChargingEvent.UTIL_CHARGING_STOPPED: + elif event == ChargingEvent.UTIL_CHARGING_STARTED: key = 'started' is_util = True elif event == ChargingEvent.UTIL_CHARGING_STOPPED: |