srcfl / srcful-gateway

Srcful energy gateway to connect your solar inverter and mine src-token
https://srcful.io
MIT License
5 stars 2 forks source link

Clone the object instead of setting the host #197

Closed davmoz closed 3 months ago

davmoz commented 3 months ago

Create a clone function that take the new host as argument instead of injecting a new host..

https://github.com/srcfl/srcful-gateway/blob/main/server/tasks/openInverterPerpetualTask.py#L40