Hoymiles OpenDTU setup with OH3 (mqtt)

Thanks!

Quick question: How do you avoid the status of the respective items going to UNDEF when the PV modules don’t deliver any power / the inverter goes into hibernation?

In my case, outside of the times when the inverter is powered on (see example below)…

… the state of the items goes to UNDEF, which does not look nice in dashboards (more a cosmetic problem)…
image
… but also causes problems when using the values as input for calculations in rules.

I read found this thread here but was wondering whether there’s a better way to do this? This thread here would solve the problem for “current power”, but overwriting e.g. “daily energy” to zero if the inverter goes down would simply produce wrong results.

Any ideas?

From what I can see, the easiest fix would be if openDTU would continue to submit the last value, even if the inverter goes down?