ESPHome  2024.11.0
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
void publish_state(float state)
Definition: number.cpp:9
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7