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

consume and consumecounter have wrong device_class #20

Closed
gabrio79 opened this issue Aug 24, 2022 · 5 comments
Closed

consume and consumecounter have wrong device_class #20

gabrio79 opened this issue Aug 24, 2022 · 5 comments

Comments

@gabrio79
Copy link

sensor.s1consume has unit VA which is unsupported for device_class energy ---> must have device_class: apparent_power
sensor.s3consume has unit VA which is unsupported for device_class energy
sensor.s2consume has unit VA which is unsupported for device_class energy
sensor.s2consumecounter has unit kVAh which is unsupported for device_class energy
sensor.s3consumecounter has unit kVAh which is unsupported for device_class energy

@kellerza
Copy link
Owner

Thanks @gabrio79!
Any idea if there is a device_class that could match kVah, or simply no device class / None?

@gabrio79
Copy link
Author

gabrio79 commented Aug 25, 2022 via email

@gabrio79
Copy link
Author

gabrio79 commented Aug 25, 2022 via email

kellerza added a commit to kellerza/mqtt_entity that referenced this issue May 18, 2023
@alexfiftyfour
Copy link

This is the device class list.
https://www.home-assistant.io/integrations/sensor/

I have a similar problem with the current.

@kellerza
Copy link
Owner

kellerza commented Nov 8, 2023

Please try the -dev add onhttps://github.com/kellerza/hassio-sma-em/blob/main/sma-em-dev/Dockerfile#L4

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

3 participants