Fix for the energy dashboard thanks to @royvanmanen (issue #21 and #22)
Solves log entries: WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.ecu_lifetime_energy (<class 'custom_components.apsystems_ecur.sensor.APSystemsECUSensor'>) with state_class measurement has set last_reset. Setting last_reset for entities with state_class other than 'total' is deprecated and will be removed from Home Assistant Core 2021.11. Please update your configuration if state_class is manually configured, otherwise report it to the custom component author.
Fix for the energy dashboard thanks to @royvanmanen (issue #21 and #22) Solves log entries: WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.ecu_lifetime_energy (<class 'custom_components.apsystems_ecur.sensor.APSystemsECUSensor'>) with state_class measurement has set last_reset. Setting last_reset for entities with state_class other than 'total' is deprecated and will be removed from Home Assistant Core 2021.11. Please update your configuration if state_class is manually configured, otherwise report it to the custom component author.