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

Home Assistant 2023.2 - state class and device class missmatch #288

Open
donagrejja opened this issue Feb 1, 2023 · 11 comments
Open

Home Assistant 2023.2 - state class and device class missmatch #288

donagrejja opened this issue Feb 1, 2023 · 11 comments
Labels
bug Something isn't working

Comments

@donagrejja
Copy link

Entity sensor.nordpool_kwh_se2_sek_total (<class 'custom_components.nordpool.sensor.NordpoolSensor'>) is using state class 'measurement' which is impossible considering device class ('monetary') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
Entity sensor.nordpool_kwh_se2_sek (<class 'custom_components.nordpool.sensor.NordpoolSensor'>) is using state class 'measurement' which is impossible considering device class ('monetary') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Running latest version of integration and home assistant and hacs

@dana-se
Copy link

dana-se commented Feb 3, 2023

I have exactly the same issue right now

@tmjo
Copy link

tmjo commented Feb 3, 2023

I see the same, not sure if it happened after updating to HA 2023.2 or when I updated the NordPool integration to latest version as I did both at the same time.

@shadowano
Copy link

Home Assistant 2023.2.1
Nordpool 0.0.9

I don't see this problem running the above versions. Updated HA today, but saw this bug report and decided to wait with updating nordpool integration.

Is this problem causing the price info to not be received in HA?

@donagrejja
Copy link
Author

The price is still visible for me. It's just a state class / device class issue and triggers a warning in HA.

@Hellowlol
Copy link
Collaborator

Yeah, ill fix it in next release.

@Hellowlol Hellowlol added the bug Something isn't working label Feb 3, 2023
@donagrejja
Copy link
Author

Great =) Thanks !

@oywino
Copy link

oywino commented Mar 22, 2023

Yeah, ill fix it in next release.

0.0.11 and this "bug" is still here.....

@Safs
Copy link

Safs commented Mar 31, 2023

0.0.13 and this "bug" is still here.....

@FiTekno
Copy link

FiTekno commented Apr 3, 2023

Same here.

Home Assistant 2023.2.5 and latest nordpool version

Entity sensor.nordpool_kwh_fi_eur_3_10_01 (<class 'custom_components.nordpool.sensor.NordpoolSensor'>) 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 to the custom integration author.

@shadowano
Copy link

It's not included because there is a PR awaiting for the code change here #309

@StSaens
Copy link

StSaens commented Dec 16, 2023

this solution (change to state_class=total) is not the correct one. See #309 (comment)

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

9 participants