This commit is contained in:
Maxim Slipenko 2023-12-10 11:49:23 +03:00
parent 38b0dc4092
commit fee9d3d3ab

View File

@ -9,7 +9,8 @@ namespace esphome
{ {
namespace esp32_presense namespace esp32_presense
{ {
class ESP32Presense : class ESP32Presense :
public Component,
public mqtt::CustomMQTTDevice public mqtt::CustomMQTTDevice
// public nimble_distance_custom::NimbleDistanceCustomComponent // public nimble_distance_custom::NimbleDistanceCustomComponent
{ {
@ -26,8 +27,8 @@ namespace esphome
unsigned int count unsigned int count
); );
public: public:
void setup(); void setup() override;
void loop(); void loop() override;
void reportLoop(); void reportLoop();
// void on_result(nimble_distance_custom::NimbleDistanceCustomResult&) override; // void on_result(nimble_distance_custom::NimbleDistanceCustomResult&) override;
void set_room(std::string room) { room_ = room; } void set_room(std::string room) { room_ = room; }