From 05b4f179c0c660b493b6e59e8721ce33b72577d1 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Wed, 19 Oct 2022 05:26:54 +0300 Subject: inverter/monitor: upd... --- src/home/inverter/monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/home/inverter') 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: -- cgit v1.2.3