ESPHome
2024.11.0
esphome
esphome
components
opentherm
input.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
esphome
{
4
namespace
opentherm {
5
6
class
OpenthermInput
{
7
public
:
8
bool
auto_min_value
,
auto_max_value
;
9
10
virtual
void
set_min_value
(
float
min_value) = 0;
11
virtual
void
set_max_value
(
float
max_value) = 0;
12
13
virtual
void
set_auto_min_value
(
bool
auto_min_value) { this->auto_min_value =
auto_min_value
; }
14
virtual
void
set_auto_max_value
(
bool
auto_max_value) { this->auto_max_value =
auto_max_value
; }
15
};
16
17
}
// namespace opentherm
18
}
// namespace esphome
esphome::opentherm::OpenthermInput
Definition:
input.h:6
esphome::opentherm::OpenthermInput::set_min_value
virtual void set_min_value(float min_value)=0
esphome::opentherm::OpenthermInput::set_auto_max_value
virtual void set_auto_max_value(bool auto_max_value)
Definition:
input.h:14
esphome::opentherm::OpenthermInput::auto_min_value
bool auto_min_value
Definition:
input.h:8
esphome::opentherm::OpenthermInput::auto_max_value
bool auto_max_value
Definition:
input.h:8
esphome::opentherm::OpenthermInput::set_auto_min_value
virtual void set_auto_min_value(bool auto_min_value)
Definition:
input.h:13
esphome::opentherm::OpenthermInput::set_max_value
virtual void set_max_value(float max_value)=0
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
Generated by
1.8.13