ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
gate_threshold_number.h
Go to the documentation of this file.
1#pragma once
2
4#include "../ld2412.h"
5
6namespace esphome::ld2412 {
7
8class GateThresholdNumber final : public number::Number, public Parented<LD2412Component> {
9 public:
10 // Not "= default": that makes new(p) T() zero-fill the object at every codegen site before the ctor runs.
12
13 protected:
14 void control(float value) override;
15};
16
17} // namespace esphome::ld2412
Helper class to easily give an object a parent of type T.
Definition helpers.h:2073
Base-class for all numbers.
Definition number.h:29