Battery soc in general overview is incorrectly reporting 0% due to non SOC related entities getting assigned with the battery device class.
Allowing them to be selected by HA as the devices current SOC to be displayed #130.
This PR only assigns SOC entities the battery device class and sets no device class for other percentage based entities that aren't of type moisture, humidity or state of charge.
Battery soc in general overview is incorrectly reporting 0% due to non SOC related entities getting assigned with the battery device class. Allowing them to be selected by HA as the devices current SOC to be displayed #130. This PR only assigns SOC entities the battery device class and sets no device class for other percentage based entities that aren't of type moisture, humidity or state of charge.