ESPHome 2025.10.0-dev
Loading...
Searching...
No Matches
calibration_number.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace esphome {
8namespace bl0940 {
9
11 public:
12 void setup() override;
13 void dump_config() override;
14 float get_setup_priority() const override { return setup_priority::HARDWARE; }
15
16 void set_restore_value(bool restore_value) { this->restore_value_ = restore_value; }
17
18 protected:
19 void control(float value) override;
20 bool restore_value_{true};
21
23};
24
25} // namespace bl0940
26} // namespace esphome
void set_restore_value(bool restore_value)
float get_setup_priority() const override
Base-class for all numbers.
Definition number.h:30
const float HARDWARE
For components that deal with hardware and are very important like GPIO switch.
Definition component.cpp:48
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7