summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-10-19 05:24:34 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-10-19 05:24:34 +0300
commita12e3bc0b22697947dabcf90bae247b19d089a1e (patch)
tree46d5c9b06e3b66fe0e897a1742717fce5fd9aafb /src
parent990e078505d554d62b2086eedbf2be75d2130642 (diff)
inverter_bot: fix stupid mistake
Diffstat (limited to 'src')
-rwxr-xr-xsrc/inverter_bot.py2
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: