mirror of
https://github.com/esphome/esphome.git
synced 2026-02-20 16:35:37 -07:00
17 lines
308 B
C++
17 lines
308 B
C++
#pragma once
|
|
|
|
#include "esphome/components/button/button.h"
|
|
#include "../ld2412.h"
|
|
|
|
namespace esphome::ld2412 {
|
|
|
|
class QueryButton : public button::Button, public Parented<LD2412Component> {
|
|
public:
|
|
QueryButton() = default;
|
|
|
|
protected:
|
|
void press_action() override;
|
|
};
|
|
|
|
} // namespace esphome::ld2412
|