ESPHome
2024.12.2
esphome
esphome
components
seeed_mr24hpc1
number
custom_mode_number.cpp
Go to the documentation of this file.
1
#include "
custom_mode_number.h
"
2
3
namespace
esphome
{
4
namespace
seeed_mr24hpc1 {
5
6
void
CustomModeNumber::control
(
float
value) {
7
this->
publish_state
(value);
8
this->
parent_
->set_custom_mode(value);
9
}
10
11
}
// namespace seeed_mr24hpc1
12
}
// namespace esphome
esphome::number::Number::publish_state
void publish_state(float state)
Definition:
number.cpp:9
esphome::seeed_mr24hpc1::CustomModeNumber::control
void control(float value) override
Definition:
custom_mode_number.cpp:6
esphome::Parented< MR24HPC1Component >::parent_
MR24HPC1Component * parent_
Definition:
helpers.h:541
custom_mode_number.h
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
Generated by
1.8.13