1 Commits

Author SHA1 Message Date
b766c0ce04 fix 2023-12-10 13:16:42 +03:00

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++;
}