Skip to content

Commit

Permalink
correction polarité
Browse files Browse the repository at this point in the history
  • Loading branch information
xlyric committed Jul 21, 2024
1 parent 7f70783 commit a0fa50e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions/appweb.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ bool getServermode(String Servermode) {
return true;
}
if ( Servermode == "MQTT" ) { config.mqtt = !config.mqtt; return true;}
if ( Servermode == "polarité" ) { config.polarity = !config.polarity; config.sauve_polarity(); return true;}
if ( Servermode == "polarity" ) { config.polarity = !config.polarity; config.sauve_polarity(); return true;}
if ( Servermode == "envoy" ) { configmodule.enphase_present = !configmodule.enphase_present; return true;}
if ( Servermode == "fronius" ) { configmodule.Fronius_present = !configmodule.Fronius_present; return true;}
if ( Servermode == "TRI" ) { config.Shelly_tri = !config.Shelly_tri; return true;}
Expand Down

0 comments on commit a0fa50e

Please sign in to comment.