add option to unpair nuki

This commit is contained in:
technyon
2022-05-24 20:41:10 +02:00
parent e93869797a
commit 939ee8b2e0
6 changed files with 75 additions and 1 deletions

View File

@@ -144,6 +144,12 @@ void NukiWrapper::setPin(const uint16_t pin)
_nukiBle.saveSecurityPincode(pin);
}
void NukiWrapper::unpair()
{
_nukiBle.unPairNuki();
_paired = false;
}
void NukiWrapper::updateKeyTurnerState()
{
_nukiBle.requestKeyTurnerState(&_keyTurnerState);