disable presence detection

This commit is contained in:
technyon
2024-07-09 13:30:51 +02:00
parent 8f679c45a5
commit 0a799e1659
3 changed files with 8 additions and 0 deletions

View File

@@ -116,7 +116,9 @@ 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)