This commit is contained in:
Maxim Slipenko 2023-12-10 13:16:42 +03:00
parent 32fe442cce
commit b766c0ce04

View File

@ -112,13 +112,19 @@ namespace esphome
totalFpSeen++;
}
ESP_LOGD(TAG, "F", f->getAddress());
if (f->hasReport()) {
if (reportBuffer(f))
ESP_LOGD(TAG, "hasReport");
if (reportBuffer(f)) {
ESP_LOGD(TAG, "reportBuffer");
f->clearReport();
}
}
if (this->reportDevice(f)) {
ESP_LOGD(TAG, "reportDevice");
totalFpReported++;
reported++;
}