core: Shelly integration does not add state_class total_increasing
The problem
In 2021.9, the Shelly integration does not provide the necessary state_class. Sensors that are added to the “individual devices” overview in the energy dashboard trigger the following warning:
The following entities do not have the expected state class 'total_increasing'
What is version of Home Assistant Core has the issue?
2021.9
What was the last working version of Home Assistant Core?
2021.8.4
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Shelly
Link to integration documentation on our website
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
The following entities do not have the expected state class 'total_increasing'
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (8 by maintainers)
Can you show us the files
/config/customize.yaml
and/config/customize_glob.yaml
?And the screenshot from Developer tools -> States for entities
sensor.0_wcd_achterin_channel_1_energy
andsensor.0_wcd_achterin_channel_2_energy
.I upgraded my prod instance to 2021.9 and cannot confirm this issue.
I think the warning comes from one of your template sensors. Looking forward for the info requested by Shay to better understand the scenario.
Simone