fix opener clearAuthorizationInfo()
This commit is contained in:
@@ -345,7 +345,7 @@ void NetworkLock::publishAuthorizationInfo(const std::list<NukiLock::LogEntry>&
|
|||||||
|
|
||||||
void NetworkLock::clearAuthorizationInfo()
|
void NetworkLock::clearAuthorizationInfo()
|
||||||
{
|
{
|
||||||
publishString(mqtt_topic_lock_log, "");
|
publishString(mqtt_topic_lock_log, "--");
|
||||||
publishUInt(mqtt_topic_lock_auth_id, 0);
|
publishUInt(mqtt_topic_lock_auth_id, 0);
|
||||||
publishString(mqtt_topic_lock_auth_name, "--");}
|
publishString(mqtt_topic_lock_auth_name, "--");}
|
||||||
|
|
||||||
|
|||||||
@@ -316,7 +316,9 @@ void NetworkOpener::logactionCompletionStatusToString(uint8_t value, char* out)
|
|||||||
|
|
||||||
void NetworkOpener::clearAuthorizationInfo()
|
void NetworkOpener::clearAuthorizationInfo()
|
||||||
{
|
{
|
||||||
publishString(mqtt_topic_lock_log, "");
|
publishString(mqtt_topic_lock_log, "--");
|
||||||
|
publishUInt(mqtt_topic_lock_auth_id, 0);
|
||||||
|
publishString(mqtt_topic_lock_auth_name, "--");}
|
||||||
}
|
}
|
||||||
|
|
||||||
void NetworkOpener::publishCommandResult(const char *resultStr)
|
void NetworkOpener::publishCommandResult(const char *resultStr)
|
||||||
|
|||||||
Reference in New Issue
Block a user