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

Add device class to sensors #86

Open
3 tasks done
s00500 opened this issue Apr 19, 2024 · 0 comments
Open
3 tasks done

Add device class to sensors #86

s00500 opened this issue Apr 19, 2024 · 0 comments

Comments

@s00500
Copy link

s00500 commented Apr 19, 2024

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

Homeassistant complains that the deviceclass is not set when adding these sensors to the energy dashboard

Describe the solution you'd like

device_class needs to be set in sensor.py

value should be 'energy'

Describe alternatives you've considered

Additional context

minor detail, but would be great to have fixed :-) I can also make a pr

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

1 participant