-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix set_weather_regulated_charge result detection
- normalize all arguments to a boolean - fix result code detection, some E3DCs report active weather regulation as 1, others as -1 - result code is the new state of weather regulated charging, so we deduce the success value bycomparing with the originally requested value. - Update source code comments accordingly.
- Loading branch information
1 parent
30cc0c2
commit ae58e37
Showing
1 changed file
with
27 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters