Hello.
I have an automation set up using Home Assistant (HA) and it ran through the night, because it was triggered by my battery's SOC value. I was pretty pleased I got this to work, as I'm learning how to make more use of HA with my IoT things!
I looked at my HA to see how things went with my trigger and I noticed something strange. The trigger was meant to be when the battery SOC was below 10(%), but my battery SOC at the time was actually 31(%). So I looked at the HA Logbook and History and saw that for about 30 seconds, the reported SOC was 0 around the time the HA automation kicked in.
While the automation did it's job perfectly, I've discovered that the 30 second reporting of zero SOC happens quite regularly. Please take a look at my screenshots from HA.


I'm not on the very latest HA (I'm on HA core 2023.6.2 and HA OS 10.4), but I am on the latest version of 'GivEnergy Local' by cdpuk, which at time of writing today is v1.8.0.
Does anyone have any tips or suggestions on how to overcome this issue?
The only thing I can think of is to make use of the 'For' aspect of the HA automation trigger, which, if I understand it correctly, will look at the value over a set amount of time (I'm going to use 1 minute). I think that should overcome the 30 second 'blip' of zero SOC being reported to HA.
Thanks in advance!
