Attempt to fix #16 problems with ECU_R_PRO by adding additional waits when closing sockets, and sleep for 1 second to help the ECU not get "overloaded"
Attempt to fix #31 by detecting lifetime_energy = 0 and throwing an exception, which should cause integration to pull from it's last cached value instead of sending a 0 through to home assistant and screwing up the graph/calculations.
Attempt to fix #16 problems with ECU_R_PRO by adding additional waits when closing sockets, and sleep for 1 second to help the ECU not get "overloaded"
Attempt to fix #31 by detecting lifetime_energy = 0 and throwing an exception, which should cause integration to pull from it's last cached value instead of sending a 0 through to home assistant and screwing up the graph/calculations.