Report bad PIN

This commit is contained in:
iranl
2024-12-22 22:24:26 +01:00
parent a8e901795d
commit 4bc21f4758
3 changed files with 9 additions and 1 deletions

View File

@@ -4061,6 +4061,10 @@ void NukiWrapper::notify(Nuki::EventType eventType)
_network->publishStatusUpdated(_statusUpdated);
}
}
else if(eventType == Nuki::EventType::ERROR_BAD_PIN)
{
_preferences->putInt(preference_lock_pin_status, 2);
}
}
}
}