diff --git a/Nuki.cpp b/Nuki.cpp index 5fe4197..5f6cd3d 100644 --- a/Nuki.cpp +++ b/Nuki.cpp @@ -83,6 +83,10 @@ void Nuki::update() { _nukiBle.lockAction(_nextLockAction, 0, 0); _nextLockAction = (LockAction)0xff; + if(_intervalLockstate > 10 * 1000) + { + _nextLockStateUpdateTs = ts + 10 * 1000; + } } } diff --git a/lib/nuki_ble b/lib/nuki_ble index 7053a02..4b6bb05 160000 --- a/lib/nuki_ble +++ b/lib/nuki_ble @@ -1 +1 @@ -Subproject commit 7053a024f571569200001a1e24dddc0d47f58dc1 +Subproject commit 4b6bb05fcbd6f3a94519defef8ce584a088952a9