huawei_solar icon indicating copy to clipboard operation
huawei_solar copied to clipboard

Wrong device_class atttribute?

Open johanvh83 opened this issue 3 years ago • 1 comments

Based on https://developers.home-assistant.io/blog/2021/09/20/state_class_total/ the device_class for sensor total_yield does not correspond. It is 'energy'

johanvh83 avatar Dec 16 '21 20:12 johanvh83

The device_class is ok, but state_class: measurement isn't. see https://developers.home-assistant.io/blog/2021/09/20/state_class_total I think it should be total_increasing with no last_reset value.

farmio avatar Dec 16 '21 21:12 farmio