set next status update check timestamp after lock action

This commit is contained in:
technyon
2022-04-02 09:18:24 +02:00
parent 0218729080
commit 094a7e096f
2 changed files with 5 additions and 1 deletions

View File

@@ -83,6 +83,10 @@ void Nuki::update()
{
_nukiBle.lockAction(_nextLockAction, 0, 0);
_nextLockAction = (LockAction)0xff;
if(_intervalLockstate > 10 * 1000)
{
_nextLockStateUpdateTs = ts + 10 * 1000;
}
}
}