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

state class log errors for 'measurement' and 'total_increasing' #21

Closed
rgb2017 opened this issue Feb 11, 2023 · 2 comments · Fixed by #22
Closed

state class log errors for 'measurement' and 'total_increasing' #21

rgb2017 opened this issue Feb 11, 2023 · 2 comments · Fixed by #22

Comments

@rgb2017
Copy link

rgb2017 commented Feb 11, 2023

WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.name_account_balance (<class 'custom_components.chargepoint.sensor.ChargePointSensorEntity'>) is using state class 'measurement' 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 report it to the custom integration author.

WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.cph50_charge_cost (<class 'custom_components.chargepoint.sensor.ChargePointChargerSensorEntity'>) 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 report it to the custom integration author.

@mbillow
Copy link
Owner

mbillow commented Feb 17, 2023

Thanks for reporting this. I'll get a patch out ASAP. 😄

@mbillow
Copy link
Owner

mbillow commented Feb 17, 2023

I fixed this and #20 in v0.4.0. Thanks again for bringing these warning up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants