restore keypad control

This commit is contained in:
technyon
2022-12-17 22:25:05 +01:00
parent fd7477438a
commit f93e3ff7f7
3 changed files with 2 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ void NetworkLock::onMqttDataReceived(char *&topic, byte *&payload, unsigned int
{
if(_keypadCommandReceivedReceivedCallback != nullptr)
{
if(strcmp(value, "--") != 0) return;
if(strcmp(value, "--") == 0) return;
_keypadCommandReceivedReceivedCallback(value, _keypadCommandId, _keypadCommandName, _keypadCommandCode, _keypadCommandEnabled);