wip
This commit is contained in:
parent
38b0dc4092
commit
fee9d3d3ab
@ -10,6 +10,7 @@ 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; }
|
||||||
|
Loading…
Reference in New Issue
Block a user