ESPHome
2025.5.2
Toggle main menu visibility
Main Page
Topics
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
r
s
t
u
v
w
x
y
z
Typedefs
a
b
d
e
f
i
j
l
m
n
o
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
w
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Related Symbols
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
Loading...
Searching...
No Matches
esphome
components
climate
climate_traits.cpp
Go to the documentation of this file.
1
#include "
climate_traits.h
"
2
3
namespace
esphome
{
4
namespace
climate {
5
6
int8_t
ClimateTraits::get_target_temperature_accuracy_decimals
()
const
{
7
return
step_to_accuracy_decimals
(this->
visual_target_temperature_step_
);
8
}
6
int8_t
ClimateTraits::get_target_temperature_accuracy_decimals
()
const
{
…
}
9
10
int8_t
ClimateTraits::get_current_temperature_accuracy_decimals
()
const
{
11
return
step_to_accuracy_decimals
(this->
visual_current_temperature_step_
);
12
}
10
int8_t
ClimateTraits::get_current_temperature_accuracy_decimals
()
const
{
…
}
13
14
}
// namespace climate
15
}
// namespace esphome
esphome::climate::ClimateTraits::get_target_temperature_accuracy_decimals
int8_t get_target_temperature_accuracy_decimals() const
Definition
climate_traits.cpp:6
esphome::climate::ClimateTraits::visual_target_temperature_step_
float visual_target_temperature_step_
Definition
climate_traits.h:212
esphome::climate::ClimateTraits::get_current_temperature_accuracy_decimals
int8_t get_current_temperature_accuracy_decimals() const
Definition
climate_traits.cpp:10
esphome::climate::ClimateTraits::visual_current_temperature_step_
float visual_current_temperature_step_
Definition
climate_traits.h:213
climate_traits.h
esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition
a01nyub.cpp:7
esphome::step_to_accuracy_decimals
int8_t step_to_accuracy_decimals(float step)
Derive accuracy in decimals from an increment step.
Definition
helpers.cpp:446
Generated by
1.12.0