Browse Source

Merge branch 'sri-elgora-patch-1' into development03

pull/958/head
lumapu 1 year ago
parent
commit
37e4b89755
  1. 2
      src/web/RestApi.h

2
src/web/RestApi.h

@ -553,7 +553,7 @@ class RestApi {
if(F("power") == jsonIn[F("cmd")])
accepted = iv->setDevControlRequest((jsonIn[F("val")] == 1) ? TurnOn : TurnOff);
else if(F("restart") == jsonIn[F("restart")])
else if(F("restart") == jsonIn[F("cmd")])
accepted = iv->setDevControlRequest(Restart);
else if(0 == strncmp("limit_", jsonIn[F("cmd")].as<const char*>(), 6)) {
iv->powerLimit[0] = jsonIn["val"];

Loading…
Cancel
Save