reduce presesnce detection publish interval

This commit is contained in:
technyon
2022-04-06 18:27:56 +02:00
parent 34d1d0b6f6
commit e2cec0207d

View File

@@ -37,7 +37,7 @@ void PresenceDetection::initialize()
void PresenceDetection::update()
{
vTaskDelay( 10000 / portTICK_PERIOD_MS);
vTaskDelay( 5000 / portTICK_PERIOD_MS);
if(_timeout < 0) return;
if(_devices.size() == 0) return;