Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"using state class 'total_increasing' which is impossible" Auto Config #394

Open
MarkRocketman opened this issue Mar 8, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@MarkRocketman
Copy link

Describe the bug
Entity sensor.dcc_sourced_smart_electricity_meter_cost_today (<class 'custom_components.hildebrandglow_dcc.sensor.Cost'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/HandyHat/ha-hildebrandglow-dcc/issues
Entity sensor.dcc_sourced_smart_gas_meter_cost_today (<class 'custom_components.hildebrandglow_dcc.sensor.Cost'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/HandyHat/ha-hildebrandglow-dcc/issues

Version 4.1.0

@MarkRocketman MarkRocketman added the bug Something isn't working label Mar 8, 2024
@krzysnaw
Copy link

custom_components/hildebrandglow_dcc/sensor.py
Line 288 , change _attr_state_class = SensorStateClass.TOTAL_INCREASE
to
attr_state_class = SensorStateClass.TOTAL

@snigehere
Copy link

@krzysnaw Many thanks for posting the work around to this issue

Just to note that it was row 293 in my sensor file (version 1.0.3) .. no idea why as it was unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants