Skip to content

Commit 8be8345

Browse files
authored
esp32.cpp (#190): add "Pause" to the list of Mode options in MQTT
1 parent 16155ad commit 8be8345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SmartEVSE-3/src/esp32.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ void SetupMQTTClient() {
868868
#endif
869869
//set the parameters for and announce select entities, overriding automatic state_topic:
870870
optional_payload = jsna("state_topic", String(MQTTprefix + "/Mode")) + jsna("command_topic", String(MQTTprefix + "/Set/Mode"));
871-
optional_payload += String(R"(, "options" : ["Off", "Normal", "Smart", "Solar"])");
871+
optional_payload += String(R"(, "options" : ["Off", "Normal", "Smart", "Solar", "Pause"])");
872872
announce("Mode", "select");
873873

874874
//set the parameters for and announce number entities:

0 commit comments

Comments
 (0)