This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "esphome.h" | |
#include <BLEDevice.h> | |
class BleAddress : public PollingComponent, public TextSensor { | |
public: | |
// constructor | |
BleAddress() : PollingComponent(15000) {} | |
float get_setup_priority() const override { return esphome::setup_priority::LATE; } |