code change
This commit is contained in:
parent
37387917cf
commit
38bf7b302a
|
@ -1422,7 +1422,6 @@ void messageReceived(String &topic, String &payload)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//////////////////////
|
|
||||||
//if (msgString.equalsIgnoreCase("OPEN")) OPEN OFF and 0
|
//if (msgString.equalsIgnoreCase("OPEN")) OPEN OFF and 0
|
||||||
else if ((String(msgString).equalsIgnoreCase("OPEN") || String(msgString).equalsIgnoreCase("OFF") || String(msgString).equalsIgnoreCase("0")) && (topic == "cmnd/" + _identifier + "/POWER"))
|
else if ((String(msgString).equalsIgnoreCase("OPEN") || String(msgString).equalsIgnoreCase("OFF") || String(msgString).equalsIgnoreCase("0")) && (topic == "cmnd/" + _identifier + "/POWER"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue