jesserockz / python-juicenet

MIT License
12 stars 10 forks source link

Ability to limit charge. #15

Open jason-kates-informa opened 3 years ago

jason-kates-informa commented 3 years ago

I am attempting to only charge my car to 90%.

Looking at the code it seems that the energy_at_plugin and energy_to_add is always 0. async def set_override(self, charge_now) -> bool: """Set to override schedule or not.""" override_time = 0 energy_at_plugin = 0 energy_to_add = 0

Any suggestion on how to pass the details on when setting the set_override to true?