From fee9d3d3ab671639234baf68cabfb4d466fb5d19 Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Sun, 10 Dec 2023 11:49:23 +0300 Subject: [PATCH] wip --- components/esp32_presense/esp32_presense.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/components/esp32_presense/esp32_presense.h b/components/esp32_presense/esp32_presense.h index 2a49599..f22e343 100644 --- a/components/esp32_presense/esp32_presense.h +++ b/components/esp32_presense/esp32_presense.h @@ -9,7 +9,8 @@ namespace esphome { namespace esp32_presense { - class ESP32Presense : + class ESP32Presense : + public Component, public mqtt::CustomMQTTDevice // public nimble_distance_custom::NimbleDistanceCustomComponent { @@ -26,8 +27,8 @@ namespace esphome unsigned int count ); public: - void setup(); - void loop(); + void setup() override; + void loop() override; void reportLoop(); // void on_result(nimble_distance_custom::NimbleDistanceCustomResult&) override; void set_room(std::string room) { room_ = room; }