fix
This commit is contained in:
parent
fbb0c27ce6
commit
61f58a5963
@ -69,6 +69,10 @@ namespace esphome
|
||||
_id = slugify(room);
|
||||
roomsTopic = std::string(CHANNEL) + std::string("/rooms/") + _id;
|
||||
}
|
||||
|
||||
void ESP32Presense::set_max_distance(float maxDistance) {
|
||||
BleFingerprintCollection::maxDistance = maxDistance;
|
||||
}
|
||||
|
||||
void ESP32Presense::setup()
|
||||
{
|
||||
|
@ -34,6 +34,7 @@ namespace esphome
|
||||
void set_room(std::string room);
|
||||
bool reportBuffer(BleFingerprint *f);
|
||||
bool reportDevice(BleFingerprint *f);
|
||||
void set_max_distance(float maxDistance);
|
||||
//void set_base_topic(std::string base_topic) { base_topic_ = base_topic; }
|
||||
};
|
||||
} // namespace esp32_nimble_tracker
|
||||
|
Loading…
Reference in New Issue
Block a user