Reflect reject TBR change in comment.

This commit is contained in:
Johannes Mockenhaupt 2017-07-15 16:21:16 +02:00
parent 4ff81e885c
commit f6c8f3638b
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -339,7 +339,7 @@ public class ComboPlugin implements PluginBase, PumpInterface {
pumpEnactResult.success = true; pumpEnactResult.success = true;
pumpEnactResult.enacted = false; pumpEnactResult.enacted = false;
pumpEnactResult.percent = activeTbrPercentage; pumpEnactResult.percent = activeTbrPercentage;
pumpEnactResult.comment = "TBR change too small, skipping"; pumpEnactResult.comment = "TBR change too small, skipping change from " + activeTbrPercentage + "% -> " + roundedPercentage + "%";
return pumpEnactResult; return pumpEnactResult;
} }
int stepSize = pumpDescription.tempDurationStep; int stepSize = pumpDescription.tempDurationStep;