fix next lock state update check

This commit is contained in:
technyon
2022-04-07 23:05:19 +02:00
parent ac8ec6022a
commit 870f409298

View File

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