Help needed with new sensor solar component. (almost there)


Hi there,

I’m not a programmer at all, though i’m trying to create a new component to read out the data from my solar inverter.

I have previously made a python script which worked, but then I found out I needed to use Pypi for all new components. This is where i’m stuck at the moment.

The code which is working can be found at:

The code which isn’t working can be found here:

Pypi code which belongs to the above components can be found at:

I hope someone is willing to help me with the code and/or point me in the right direction.
I feel that it is something small. Especially for a programmer.