Fix Match by IRK (#6499)

Co-authored-by: Remus <remus@intelNuc.local>
This commit is contained in:
MRemy2 2024-04-09 04:49:37 +03:00 committed by GitHub
parent 76c5337987
commit 55c49281a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -73,8 +73,7 @@ class BLEPresenceDevice : public binary_sensor::BinarySensorInitiallyOff,
break;
case MATCH_BY_IRK:
if (resolve_irk_(device.address_uint64(), this->irk_)) {
this->publish_state(true);
this->found_ = true;
this->set_found_(true);
return true;
}
break;