mirror of
https://github.com/esphome/esphome.git
synced 2025-01-22 20:35:59 +01:00
18 lines
358 B
C++
18 lines
358 B
C++
#pragma once
|
|
|
|
#include "esphome/components/number/number.h"
|
|
#include "../ld2410.h"
|
|
|
|
namespace esphome {
|
|
namespace ld2410 {
|
|
|
|
class LightThresholdNumber : public number::Number, public Parented<LD2410Component> {
|
|
public:
|
|
LightThresholdNumber() = default;
|
|
|
|
protected:
|
|
void control(float value) override;
|
|
};
|
|
|
|
} // namespace ld2410
|
|
} // namespace esphome
|