code change

This commit is contained in:
Mountain-Pitt 2022-08-29 06:21:42 +10:00
parent 37387917cf
commit 38bf7b302a
1 changed files with 0 additions and 1 deletions

View File

@ -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"))