ESPHome 2025.5.0
Loading...
Searching...
No Matches
gate_config_number.h
Go to the documentation of this file.
1#pragma once
2
4#include "../ld2420.h"
5
6namespace esphome {
7namespace ld2420 {
8
9class LD2420TimeoutNumber : public number::Number, public Parented<LD2420Component> {
10 public:
12
13 protected:
14 void control(float timeout) override;
15};
16
17class LD2420MinDistanceNumber : public number::Number, public Parented<LD2420Component> {
18 public:
20
21 protected:
22 void control(float min_gate) override;
23};
24
25class LD2420MaxDistanceNumber : public number::Number, public Parented<LD2420Component> {
26 public:
28
29 protected:
30 void control(float max_gate) override;
31};
32
33class LD2420GateSelectNumber : public number::Number, public Parented<LD2420Component> {
34 public:
36
37 protected:
38 void control(float gate_select) override;
39};
40
41class LD2420MoveSensFactorNumber : public number::Number, public Parented<LD2420Component> {
42 public:
44
45 protected:
46 void control(float move_factor) override;
47};
48
49class LD2420StillSensFactorNumber : public number::Number, public Parented<LD2420Component> {
50 public:
52
53 protected:
54 void control(float still_factor) override;
55};
56
57class LD2420StillThresholdNumbers : public number::Number, public Parented<LD2420Component> {
58 public:
60 LD2420StillThresholdNumbers(uint8_t gate);
61
62 protected:
63 uint8_t gate_;
64 void control(float still_threshold) override;
65};
66
67class LD2420MoveThresholdNumbers : public number::Number, public Parented<LD2420Component> {
68 public:
70 LD2420MoveThresholdNumbers(uint8_t gate);
71
72 protected:
73 uint8_t gate_;
74 void control(float move_threshold) override;
75};
76
77} // namespace ld2420
78} // namespace esphome
Helper class to easily give an object a parent of type T.
Definition helpers.h:538
void control(float gate_select) override
void control(float move_threshold) override
void control(float still_factor) override
void control(float still_threshold) override
void control(float timeout) override
Base-class for all numbers.
Definition number.h:39
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7