mirror of
https://github.com/esphome/esphome.git
synced 2024-12-02 11:44:13 +01:00
18 lines
359 B
C++
18 lines
359 B
C++
#pragma once
|
|
|
|
#include "esphome/components/select/select.h"
|
|
#include "../ld2410.h"
|
|
|
|
namespace esphome {
|
|
namespace ld2410 {
|
|
|
|
class BaudRateSelect : public select::Select, public Parented<LD2410Component> {
|
|
public:
|
|
BaudRateSelect() = default;
|
|
|
|
protected:
|
|
void control(const std::string &value) override;
|
|
};
|
|
|
|
} // namespace ld2410
|
|
} // namespace esphome
|