Fixed IR JSON cmd string (closes #2187 )

This commit is contained in:
cschwinne 2021-09-12 01:37:41 +02:00
parent d0440122b9
commit bd23942893

View File

@ -583,8 +583,9 @@ void decodeIRJson(uint32_t code)
return;
}
jsonCmdObj = fdo["cmd"];
cmdStr = String(jsonCmdObj);
cmd = fdo["cmd"]; //string
cmdStr = String(cmd);
jsonCmdObj = fdo["cmd"]; //object
if (!cmdStr.isEmpty())
{