ESPHome
2025.2.0
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
+
Functions
_
a
l
m
o
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
Typedefs
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
esphome
esphome
components
version
version_text_sensor.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/component.h
"
4
#include "
esphome/components/text_sensor/text_sensor.h
"
5
6
namespace
esphome
{
7
namespace
version
{
8
9
class
VersionTextSensor
:
public
text_sensor::TextSensor
,
public
Component
{
10
public
:
11
void
set_hide_timestamp
(
bool
hide_timestamp);
12
void
setup
()
override
;
13
void
dump_config
()
override
;
14
float
get_setup_priority
()
const override
;
15
std::string
unique_id
()
override
;
16
17
protected
:
18
bool
hide_timestamp_
{
false
};
19
};
20
21
}
// namespace version
22
}
// namespace esphome
esphome::shelly_dimmer::version
uint8_t version
Definition:
stm32flash.h:93
esphome::version::VersionTextSensor::hide_timestamp_
bool hide_timestamp_
Definition:
version_text_sensor.h:18
esphome::version::VersionTextSensor::unique_id
std::string unique_id() override
Definition:
version_text_sensor.cpp:20
esphome::Component
Definition:
component.h:68
esphome::version::VersionTextSensor::get_setup_priority
float get_setup_priority() const override
Definition:
version_text_sensor.cpp:18
esphome::version::VersionTextSensor
Definition:
version_text_sensor.h:9
esphome::version::VersionTextSensor::dump_config
void dump_config() override
Definition:
version_text_sensor.cpp:21
esphome::text_sensor::TextSensor
Definition:
text_sensor.h:34
esphome::version::VersionTextSensor::set_hide_timestamp
void set_hide_timestamp(bool hide_timestamp)
Definition:
version_text_sensor.cpp:19
esphome::version::VersionTextSensor::setup
void setup() override
Definition:
version_text_sensor.cpp:11
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
component.h
text_sensor.h
Generated by
1.8.13