Skip to content

Commit

Permalink
chargecontrollerfix
Browse files Browse the repository at this point in the history
  • Loading branch information
magnuselden authored and magnuselden committed Aug 12, 2022
1 parent 6cd5564 commit 38d9a02
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ def __init__(self, hub):

@property
def below_startthreshold(self) -> bool:
return _core.below_start_threshold(
return self._core.below_start_threshold(
predicted_energy=self._hub.prediction.predictedenergy,
current_peak=self._hub.current_peak_dynamic,
threshold_start=self._hub.threshold.start/100
)

@property
def above_stopthreshold(self) -> bool:
return _core.above_stop_threshold(
return self._core.above_stop_threshold(
predicted_energy=self._hub.prediction.predictedenergy,
current_peak=self._hub.current_peak_dynamic,
threshold_stop=self._hub.threshold.stop/100
Expand Down

0 comments on commit 38d9a02

Please sign in to comment.