Dielee / volvo2mqtt

Home Assistant addon for connecting AAOS Volvos
MIT License
163 stars 38 forks source link

Battery device class #87

Closed Corsw closed 1 year ago

Corsw commented 1 year ago

Would it be possible to add the device_class: battery to the battery_charge_level sensor? I would like this to let HA automaticly give colors to the tile card showing the charge level in lovelace.

Dielee commented 1 year ago

Good idea! I will take a look.

Dielee commented 1 year ago

Added function by release v1.8.3!

Corsw commented 1 year ago

Works brilliantly, thanks for the fast respons and adding this 👍