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

[BUG] state_class is missing for the new version of home assistant #69

Open
deepansteven opened this issue Oct 7, 2024 · 1 comment

Comments

@deepansteven
Copy link

deepansteven commented Oct 7, 2024

Please help me help you:

It seems that the new version of the home assistant is expecting "state_class" to be defined.

image

Describe the bug

image

To Reproduce

Open the integration in the newest version og homeassistant

Expected behavior

A clear and concise description of what you expected to happen.

Log file output

Follow the guideline in the README.md file and post the result here. Make sure to clean the information from account information.

@deepansteven deepansteven changed the title [BUG] state_clasee is missing for the new version of homeassiatant [BUG] state_class is missing for the new version of homeassiatant Oct 7, 2024
@deepansteven deepansteven changed the title [BUG] state_class is missing for the new version of homeassiatant [BUG] state_class is missing for the new version of home assistant Oct 7, 2024
@kpoppel
Copy link
Owner

kpoppel commented Oct 8, 2024

Well these exact 5 sensors do not have a state_class, or they do, it is just set to None which is a legal value according to the developer documentation. More people have seen this on lots of other extensions: home-assistant/core#127363

I set them to "None" beacuse I didn't think any of the "measurement", "measurement_increasing" types make sense. But I could make them "measurement" in the sense that they represent a current value without being an actual measurement.

I will give it a thought.

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

No branches or pull requests

2 participants