ESPHome 2025.12.3
Loading...
Searching...
No Matches
gate_threshold_number.cpp
Go to the documentation of this file.
2
3namespace esphome::ld2410 {
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(this->gate_);
10}
11
12} // namespace esphome::ld2410
void publish_state(float state)
Definition number.cpp:31