Seth
Seth
The pace on changes is too fast for me to keep up with everything else I've got going on in life, and I don't have any batteries so I can't...
It's already in there, as sensor.solaredge_i#_status for the code and sensor.solaredge_i#_status_text for the human readable name.
Example from mine:
Look in const.py on line 267
Maybe it got broken here when the battery stuff was added. I still see the code in sensor.py here. The difference betwen my fork is I only have this: ```...
I have both values: status as number and status as human readable. Something changed here broke that function or removed it.
Yeah I really don't know... this is into "exceeds my python experience" territory again. My fork is less me developing new things and more me copy/pasting from here and simple...
Oh, I think I understand now... extra_state_attributes() is some kind of callback HA is making rather than something called in the integration.
So then would simply adding: ```self.data[inverter_prefix + "status_text"] = DEVICE_STATUSES[status]``` Do the trick?