ESPHome 2025.9.0-dev
Loading...
Searching...
No Matches
gate_threshold_number.h
Go to the documentation of this file.
1#pragma once
2
4#include "../ld2412.h"
5
6namespace esphome {
7namespace ld2412 {
8
9class GateThresholdNumber : public number::Number, public Parented<LD2412Component> {
10 public:
11 GateThresholdNumber(uint8_t gate);
12
13 protected:
14 uint8_t gate_;
15 void control(float value) override;
16};
17
18} // namespace ld2412
19} // namespace esphome
Helper class to easily give an object a parent of type T.
Definition helpers.h:656
Base-class for all numbers.
Definition number.h:39
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7