mirror of
https://github.com/esphome/esphome.git
synced 2025-03-14 06:38:17 +00:00
Co-authored-by: FreeBear <freebear@tuxcnc.org> Co-authored-by: FreeBear-nc <67865163+FreeBear-nc@users.noreply.github.com> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
19 lines
482 B
C++
19 lines
482 B
C++
#pragma once
|
|
|
|
namespace esphome {
|
|
namespace opentherm {
|
|
|
|
class OpenthermInput {
|
|
public:
|
|
bool auto_min_value, auto_max_value;
|
|
|
|
virtual void set_min_value(float min_value) = 0;
|
|
virtual void set_max_value(float max_value) = 0;
|
|
|
|
virtual void set_auto_min_value(bool auto_min_value) { this->auto_min_value = auto_min_value; }
|
|
virtual void set_auto_max_value(bool auto_max_value) { this->auto_max_value = auto_max_value; }
|
|
};
|
|
|
|
} // namespace opentherm
|
|
} // namespace esphome
|