mirror of
https://github.com/esphome/esphome.git
synced 2025-03-26 04:28:17 +00:00
19 lines
334 B
C++
19 lines
334 B
C++
#pragma once
|
|
|
|
#include "esphome/components/button/button.h"
|
|
#include "../ld2410.h"
|
|
|
|
namespace esphome {
|
|
namespace ld2410 {
|
|
|
|
class QueryButton : public button::Button, public Parented<LD2410Component> {
|
|
public:
|
|
QueryButton() = default;
|
|
|
|
protected:
|
|
void press_action() override;
|
|
};
|
|
|
|
} // namespace ld2410
|
|
} // namespace esphome
|