When creating the sensors for the SonnenBatterie the code wrongly assumed all sensors to be numeric and assigned the state_class of measurement for them. Obviously this is plain wrong for pure text sensors which should have a state_class of None.
removed some unused imports
Added description for state_class entity to mappings.py
Added Note that textmap entity types will always have a state_class of None
state_class
ofmeasurement
for them. Obviously this is plain wrong for pure text sensors which should have astate_class
of None.state_class
entity tomappings.py
textmap
entity types will always have astate_class
ofNone