Skip to content

Commit abe3227

Browse files
committed
esp32.cpp: Don't reset OverrideCurrent when switching to Smart Mode with mqtt.
1 parent ae5b26b commit abe3227

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

SmartEVSE-3/src/esp32.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,6 @@ void mqtt_receive_callback(const String topic, const String payload) {
594594
setOverrideCurrent(0);
595595
setMode(MODE_SOLAR);
596596
} else if (payload == "Smart") {
597-
setOverrideCurrent(0);
598597
setMode(MODE_SMART);
599598
} else if (payload == "Pause") {
600599
setAccess(PAUSE);

0 commit comments

Comments
 (0)