ESPHome 2026.1.0-dev
Loading...
Searching...
No Matches
gate_threshold_number.cpp
Go to the documentation of this file.
2
3namespace esphome::ld2412 {
4
5GateThresholdNumber::GateThresholdNumber(uint8_t gate) : gate_(gate) {}
6
7void GateThresholdNumber::control(float value) {
8 this->publish_state(value);
9 this->parent_->set_gate_threshold();
10}
11
12} // namespace esphome::ld2412
void publish_state(float state)
Definition number.cpp:31