diff options
Diffstat (limited to 'src/inverter_bot.py')
-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: |