remove PresenceDetection code
This commit is contained in:
@@ -51,6 +51,8 @@ NukiWrapper::~NukiWrapper()
|
||||
|
||||
void NukiWrapper::initialize(const bool& firstStart)
|
||||
{
|
||||
_preferences->remove(preference_presence_detection_timeout);
|
||||
|
||||
_nukiLock.initialize();
|
||||
|
||||
esp_power_level_t powerLevel;
|
||||
@@ -134,9 +136,6 @@ void NukiWrapper::initialize(const bool& firstStart)
|
||||
_preferences->putInt(preference_query_interval_configuration, 3600);
|
||||
_preferences->putInt(preference_query_interval_battery, 1800);
|
||||
_preferences->putInt(preference_query_interval_keypad, 1800);
|
||||
#if PRESENCE_DETECTION_ENABLED
|
||||
_preferences->putInt(preference_presence_detection_timeout, -1);
|
||||
#endif
|
||||
}
|
||||
|
||||
if(_nrOfRetries < 0 || _nrOfRetries == 200)
|
||||
|
||||
Reference in New Issue
Block a user