Open jkkataja opened 6 months ago
If you configure an MQTT sensor via the config there's the option expire_after that lets the sensor become unavailable if for example there was no message for 6-10min. Maybe something like that exists in the API too.
Hi,
It seems that when the inverter remains in sleep/offline mode (happened here in Finland due to sudden snowfall) a lot of sensors do not reset to 0, but rather keep showing the last known value.
Examples of affected sensors: sensor._self_consumption_solar_battery_energy_today_pvenergytoday
sensor._pv_all_energy_today_calculated
sensor._pv2_energy_today
sensor._pv1_voltage
Example screenshot with ID left out, last updated value "day before yesterday"
Would it be possible to consider a workaround that if no updates for 1 hour then set sensor values to 0?
Cheers