[SOLVED] Sensor state on inverter goes offline (unknown) - how to keep the last value?

Hi everyone and Happy New Year :slight_smile:

just a quick one:
I use a bosswerk inverter (with Omnik integration), which loses the connection at night (no power on the inverter).
I would like to keep the last value of the total harvested energy if it goes offline (-> sensor state “unknown”).
Is this even possible (maybe by creating a new sensor being fed by the omnik sensor)?

Feed your energy sensor from the inverter to a utility meter helper.

Thanks, Tom - of course - :innocent:
I just figured out, that makeing use of this one is also an option:

Create a sensor that calculates a min, max, mean, median or sum from a list of input sensors.

I just use one sensor as the input (solar power total) and use
Most recently updated