mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 00:48:19 +01:00
parent
76c5337987
commit
55c49281a2
1 changed files with 1 additions and 2 deletions
|
@ -73,8 +73,7 @@ class BLEPresenceDevice : public binary_sensor::BinarySensorInitiallyOff,
|
||||||
break;
|
break;
|
||||||
case MATCH_BY_IRK:
|
case MATCH_BY_IRK:
|
||||||
if (resolve_irk_(device.address_uint64(), this->irk_)) {
|
if (resolve_irk_(device.address_uint64(), this->irk_)) {
|
||||||
this->publish_state(true);
|
this->set_found_(true);
|
||||||
this->found_ = true;
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue