I’ve been struggling to get the Energy component up and running to track a few devices around the house. I have almost everything working, but this repair notice keeps showing up when Home Assistant starts and doesn’t go away:
State classes is not correct
State classes
total_increasing, total_increasing, total_increasing, total_increasing, total
on source entitiessensor.total_aquarium_energy_consumption, sensor.espresso_machine_total_consumption, sensor.dishwasher_total_consumption, sensor.total_moss_tank_energy_consumption, sensor.media_server_energy_consumption
needs to be same for sensor groupsensor.total_power_consumption
.Please correct the state classes on the source entities and reload the group sensor to fix this issue.
It also consistently says the repair is from 3 days ago even though this has been going on for multiple days.
I have used customize.yaml to set the state classes of these entities to total_increasing
and restarted Home Assistant, so the only entity with a state class of total
in my states page is sensor.total_power_consumption_cost
.
I can make the repair go away by removing sensor.media_server_energy_consumption
from the sensor.total_power_consumption
group, but again, it has the total_increasing
state class so the Energy component seems happy to use it.
It appears to me that this repair is incorrect because it claims that one of those sensors has a state class of total
when none actually do.
Has anyone else run into this? Am I doing something wrong, or should I open a bug report?
Thanks!