summaryrefslogtreecommitdiff
path: root/src/home/inverter/monitor.py
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-10-19 05:26:54 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-10-19 05:26:54 +0300
commit05b4f179c0c660b493b6e59e8721ce33b72577d1 (patch)
tree3aa83c9666fdfd4aa91b40f05a66fd629edb86e6 /src/home/inverter/monitor.py
parenta12e3bc0b22697947dabcf90bae247b19d089a1e (diff)
inverter/monitor: upd...
Diffstat (limited to 'src/home/inverter/monitor.py')
-rw-r--r--src/home/inverter/monitor.py2
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: