add keypad command sanity checks

This commit is contained in:
technyon
2022-08-12 23:17:03 +02:00
parent 54d4d8b341
commit 0060acefce
4 changed files with 29 additions and 7 deletions

View File

@@ -288,7 +288,7 @@ void NetworkLock::publishKeypad(const std::list<NukiLock::KeypadEntry>& entries,
void NetworkLock::publishKeypadCommandResult(const char* result)
{
publishString(mqtt_topic_keypad_command_enabled, result);
publishString(mqtt_topic_keypad_command_result, result);
}
void NetworkLock::setLockActionReceivedCallback(bool (*lockActionReceivedCallback)(const char *))