jesserockz / python-juicenet

MIT License
12 stars 10 forks source link

Added stopCharging support. #6

Closed SwedishNinja closed 4 years ago

SwedishNinja commented 4 years ago

Based on the setOverride API. Simply sets the current amount of added energy to the desired amount of added energy.

SwedishNinja commented 4 years ago

Added stop charging support. Merge if you want!

jesserockz commented 4 years ago

Thanks, I will try this out when I get a chance.

SwedishNinja commented 4 years ago

Thanks! I just realized that my Stop code is more complicated than it needs to be. I'll make a change when I have time, but I will just set energy to add to 1 no matter what the current energy added is.

SwedishNinja commented 4 years ago

Closing this and making a new new pull request.