dreadnought / python-daly-bms

Python module for Daly BMS devices
MIT License
82 stars 37 forks source link

Do not set highest/lowest cell hass class to be voltage. Add hass device class for capacity #38

Closed jgimbel closed 1 year ago

jgimbel commented 1 year ago

This PR fixed a couple issues for me in Home Assistant. It moved the highest cell number and lowest cell number to not be a voltage. This fixed an issue when viewing all voltages in hass history. Now highest/lowest cells are more like the other statuses. image image

It also adjusted the capacity to have a device class of "energy", which allows for better charts. image