Trace change of a state

Hello,
i have a state and this changes sometimes during the night (Timezone Europe/Berlin).
I have no active automation running and i dont know why this happens.

The inverter itself ( the HW connected) is not the culprit. Bcs it would not happen if HA is off.
As i am not an expert of HA-Logs, i would like to know, how can it trace the change of a state.

Select a narrow period containing some “drop” to clearly see if the value is “unavailable” or “unknown”.

Unfortunately I can’t find that out with a narrow time.

Because you should select a period with this “gap” (like “9 … 11”).

The only gap with the condition „unavailable“
Was 2 days ago

You need to select a period which you want to investigate.