use -1 to disable presence detection

This commit is contained in:
technyon
2022-04-05 23:03:12 +02:00
parent 2b68a51a23
commit 28687d2b96
5 changed files with 28 additions and 12 deletions

View File

@@ -79,7 +79,7 @@ void setup()
webCfgServer->initialize();
nuki->initialize();
presenceDetection = new PresenceDetection(nuki->bleScanner(), network);
presenceDetection = new PresenceDetection(preferences, nuki->bleScanner(), network);
presenceDetection->initialize();
setupTasks();