ESPHome
2025.3.3
Main Page
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
d
e
f
i
j
l
m
n
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
c
d
o
p
s
t
v
w
+
Enumerations
b
c
e
f
i
m
n
p
r
s
t
v
+
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
l
m
o
p
s
t
u
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
esphome
esphome
components
ld2450
number
zone_coordinate_number.cpp
Go to the documentation of this file.
1
#include "
zone_coordinate_number.h
"
2
3
namespace
esphome
{
4
namespace
ld2450 {
5
6
ZoneCoordinateNumber::ZoneCoordinateNumber
(uint8_t zone) : zone_(zone) {}
7
8
void
ZoneCoordinateNumber::control
(
float
value) {
9
this->
publish_state
(value);
10
this->
parent_
->set_zone_coordinate(this->
zone_
);
11
}
12
13
}
// namespace ld2450
14
}
// namespace esphome
zone_coordinate_number.h
esphome::ld2450::ZoneCoordinateNumber::ZoneCoordinateNumber
ZoneCoordinateNumber(uint8_t zone)
Definition:
zone_coordinate_number.cpp:6
esphome::ld2450::ZoneCoordinateNumber::control
void control(float value) override
Definition:
zone_coordinate_number.cpp:8
esphome::number::Number::publish_state
void publish_state(float state)
Definition:
number.cpp:9
esphome::ld2450::ZoneCoordinateNumber::zone_
uint8_t zone_
Definition:
zone_coordinate_number.h:14
esphome::Parented< LD2450Component >::parent_
LD2450Component * parent_
Definition:
helpers.h:549
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
Generated by
1.8.13