Merge branch 'master' into publish-additional-states
This commit is contained in:
@@ -324,8 +324,14 @@ void NukiWrapper::updateKeyTurnerState()
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
_retryLockstateCount = 0;
|
||||
|
||||
if(_publishAuthData)
|
||||
{
|
||||
updateAuthData();
|
||||
}
|
||||
|
||||
_network->publishKeyTurnerState(_keyTurnerState, _lastKeyTurnerState);
|
||||
updateGpioOutputs();
|
||||
|
||||
@@ -333,11 +339,6 @@ void NukiWrapper::updateKeyTurnerState()
|
||||
lockstateToString(_keyTurnerState.lockState, lockStateStr);
|
||||
Log->println(lockStateStr);
|
||||
|
||||
if(_publishAuthData)
|
||||
{
|
||||
updateAuthData();
|
||||
}
|
||||
|
||||
postponeBleWatchdog();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user