inverter/monitor: upd...

This commit is contained in:
Evgeny Zinoviev 2022-10-19 05:26:54 +03:00
parent a12e3bc0b2
commit 05b4f179c0

View File

@ -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: