weltmeyer / ha_sonnenbatterie

Homeassistant integration to show many stats of Sonnenbatterie
GNU General Public License v3.0
51 stars 24 forks source link

Rendering of historic sensor values broken in 2022.04 #15

Closed alsFC closed 2 years ago

alsFC commented 2 years ago

With the current 2022.04 Release the default rendering of history graphs of the sensors changed to bar charts. Probably defining of device_class and unit_of_measurement attributes for all sensors will solve the problem.

image

alsFC commented 2 years ago

also state_class attribute would be nice to support system-native long term statistics.

geni0602 commented 2 years ago

Hi, Same for me with the new update 2022.4. units of measurement are not available and no more history graph. It will be nice, if you could fix it.

Thanks!

weltmeyer commented 2 years ago

Didnt mean to close it directly before you also confirm this works with the latest update :) Can you check please?

geni0602 commented 2 years ago

It´s looking good. Units of measurement are fine and the graphs as well.

Thanks a lot!

alsFC commented 2 years ago

All the sensors looking good now! 🙂 Thank you!

One thing: the actual state of the battery (charging, discharging, etc.) renders as graph now. Perhaps because unit_of_measurement and device_class are defined for this sensor as well but are set to none.

weltmeyer commented 2 years ago

All the sensors looking good now! 🙂 Thank you!

One thing: the actual state of the battery (charging, discharging, etc.) renders as graph now. Perhaps because unit_of_measurement and device_class are defined for this sensor as well but are set to none.

Should also be fixed with another update, thanks for reporting.

i am closing this now