Support posting power to an MQTT topic for Home Assistant.

This commit is contained in:
MarkBryanMilligan
2021-02-21 18:56:58 -06:00
committed by mmilligan
parent 90002ab4d4
commit ea07715c46
7 changed files with 342 additions and 160 deletions

View File

@@ -136,7 +136,7 @@ public class Breaker {
}
public double getLowPassFilter() {
return lowPassFilter;
return Math.abs(lowPassFilter) < 0.05 ? 1.6: lowPassFilter;
}
public void setLowPassFilter(double _lowPassFilter) {