As below in the logs from HA using the state_class_total_increasing incorrectly.
Debug log
2023-01-12 07:21:06.387 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eo_mini_pro_2_consumption (<class 'custom_components.eo_mini.sensor.EOMiniChargerSessionEnergySensor'>) with state_class total_increasing has set last_reset. Setting last_reset for entities with state_class other than 'total' is not supported. Please update your configuration if state_class is manually configured, otherwise report it to the custom integration author.
2023-01-12 07:21:06.412 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.eo_mini_pro_2_charging_time (<class 'custom_components.eo_mini.sensor.EOMiniChargerSessionChargingTimeSensor'>) with state_class total_increasing has set last_reset. Setting last_reset for entities with state_class other than 'total' is not supported. Please update your configuration if state_class is manually configured, otherwise report it to the custom integration author.
Version of the custom_component
Latest Version
Describe the bug
As below in the logs from HA using the state_class_total_increasing incorrectly.
Debug log