mirror of https://github.com/arendst/Tasmota.git
Merge pull request #4177 from ascillato/patch-1
Fix Alexa for ALL cores
This commit is contained in:
commit
1330372f46
|
@ -664,7 +664,7 @@ void HueLights(String *path)
|
||||||
response = "[";
|
response = "[";
|
||||||
|
|
||||||
StaticJsonBuffer<400> jsonBuffer;
|
StaticJsonBuffer<400> jsonBuffer;
|
||||||
JsonObject &hue_json = jsonBuffer.parseObject(WebServer->arg((WebServer->args())-1));
|
JsonObject &hue_json = jsonBuffer.parseObject(WebServer->arg("1"));
|
||||||
if (hue_json.containsKey("on")) {
|
if (hue_json.containsKey("on")) {
|
||||||
|
|
||||||
response += FPSTR(HUE_LIGHT_RESPONSE_JSON);
|
response += FPSTR(HUE_LIGHT_RESPONSE_JSON);
|
||||||
|
|
Loading…
Reference in New Issue