set next status update check timestamp after lock action
This commit is contained in:
4
Nuki.cpp
4
Nuki.cpp
@@ -83,6 +83,10 @@ void Nuki::update()
|
|||||||
{
|
{
|
||||||
_nukiBle.lockAction(_nextLockAction, 0, 0);
|
_nukiBle.lockAction(_nextLockAction, 0, 0);
|
||||||
_nextLockAction = (LockAction)0xff;
|
_nextLockAction = (LockAction)0xff;
|
||||||
|
if(_intervalLockstate > 10 * 1000)
|
||||||
|
{
|
||||||
|
_nextLockStateUpdateTs = ts + 10 * 1000;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Submodule lib/nuki_ble updated: 7053a024f5...4b6bb05fcb
Reference in New Issue
Block a user