diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-10-19 05:26:54 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-10-19 05:26:54 +0300 |
commit | 05b4f179c0c660b493b6e59e8721ce33b72577d1 (patch) | |
tree | 3aa83c9666fdfd4aa91b40f05a66fd629edb86e6 /src/home/inverter | |
parent | a12e3bc0b22697947dabcf90bae247b19d089a1e (diff) |
inverter/monitor: upd...
Diffstat (limited to 'src/home/inverter')
-rw-r--r-- | src/home/inverter/monitor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/inverter/monitor.py b/src/home/inverter/monitor.py index a950c52..1ad8ce1 100644 --- a/src/home/inverter/monitor.py +++ b/src/home/inverter/monitor.py @@ -210,7 +210,7 @@ class InverterMonitor(Thread): if self.util_pd is None or self.util_pd != pd: self.util_pd = pd - if not pd_event_send: + if not pd_event_send and not solar: if pd == BatteryPowerDirection.CHARGING: self.charging_event_handler(ChargingEvent.UTIL_CHARGING_STARTED) else: |