ESPHome
2025.11.0b4
Loading...
Searching...
No Matches
esphome
components
seeed_mr60fda2
select
height_threshold_select.cpp
Go to the documentation of this file.
1
#include "
height_threshold_select.h
"
2
3
namespace
esphome
{
4
namespace
seeed_mr60fda2 {
5
6
void
HeightThresholdSelect::control
(
size_t
index) {
7
this->
publish_state
(index);
8
this->
parent_
->set_height_threshold(index);
9
}
10
11
}
// namespace seeed_mr60fda2
12
}
// namespace esphome
esphome::Parented< MR60FDA2Component >::parent_
MR60FDA2Component * parent_
Definition
helpers.h:912
esphome::seeed_mr60fda2::HeightThresholdSelect::control
void control(size_t index) override
Definition
height_threshold_select.cpp:6
esphome::select::Select::publish_state
void publish_state(const std::string &state)
Definition
select.cpp:12
height_threshold_select.h
esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition
a01nyub.cpp:7
Generated by
1.12.0