Closed gabrio79 closed 8 months ago
Thanks @gabrio79!
Any idea if there is a device_class that could match kVah
, or simply no device class / None
?
I searched but i dis't applicabile class foundee, i can suggest you to open an issue on ha-core? in the midtime, no class or remain energy
Il Gio 25 Ago 2022, 21:05 Johann Kellerman @.***> ha scritto:
Thanks @gabrio79 https://github.com/gabrio79! Any idea if there is a device_class that could match kVah, or simply no device class / None?
— Reply to this email directly, view it on GitHub https://github.com/kellerza/hassio-sma-em/issues/20#issuecomment-1227652667, or unsubscribe https://github.com/notifications/unsubscribe-auth/APW3TYCORECUSRUV4UY5ILDV267X5ANCNFSM57O3KVAA . You are receiving this because you were mentioned.Message ID: @.***>
Is you device accurate? I notated big differces betwen shm2 and fiscale Meter measure... I opened a ticket on sma support... But for them no issue... Have you ever checked?
Il Gio 25 Ago 2022, 21:23 Gabrio @.***> ha scritto:
I searched but i dis't applicabile class foundee, i can suggest you to open an issue on ha-core? in the midtime, no class or remain energy
Il Gio 25 Ago 2022, 21:05 Johann Kellerman @.***> ha scritto:
Thanks @gabrio79 https://github.com/gabrio79! Any idea if there is a device_class that could match kVah, or simply no device class / None?
— Reply to this email directly, view it on GitHub https://github.com/kellerza/hassio-sma-em/issues/20#issuecomment-1227652667, or unsubscribe https://github.com/notifications/unsubscribe-auth/APW3TYCORECUSRUV4UY5ILDV267X5ANCNFSM57O3KVAA . You are receiving this because you were mentioned.Message ID: @.***>
This is the device class list. https://www.home-assistant.io/integrations/sensor/
I have a similar problem with the current.
Please try the -dev add onhttps://github.com/kellerza/hassio-sma-em/blob/main/sma-em-dev/Dockerfile#L4
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