Report bad PIN
This commit is contained in:
Submodule lib/nuki_ble updated: 8e79820f90...1b339249c6
@@ -4032,6 +4032,10 @@ void NukiOpenerWrapper::notify(Nuki::EventType eventType)
|
|||||||
_network->publishStatusUpdated(_statusUpdated);
|
_network->publishStatusUpdated(_statusUpdated);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if(eventType == Nuki::EventType::ERROR_BAD_PIN)
|
||||||
|
{
|
||||||
|
_preferences->putInt(preference_lock_pin_status, 2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void NukiOpenerWrapper::readConfig()
|
void NukiOpenerWrapper::readConfig()
|
||||||
|
|||||||
@@ -4061,6 +4061,10 @@ void NukiWrapper::notify(Nuki::EventType eventType)
|
|||||||
_network->publishStatusUpdated(_statusUpdated);
|
_network->publishStatusUpdated(_statusUpdated);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if(eventType == Nuki::EventType::ERROR_BAD_PIN)
|
||||||
|
{
|
||||||
|
_preferences->putInt(preference_lock_pin_status, 2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user