ESPHome
2024.12.2
|
#include <automation.h>
Public Member Functions | |
SensorInRangeCondition (Sensor *parent) | |
void | set_min (float min) |
void | set_max (float max) |
bool | check (Ts... x) override |
Public Member Functions inherited from esphome::Condition< Ts... > | |
bool | check_tuple (const std::tuple< Ts... > &tuple) |
Call check with a tuple of values as parameter. More... | |
Protected Attributes | |
Sensor * | parent_ |
float | min_ {NAN} |
float | max_ {NAN} |
Additional Inherited Members | |
Protected Member Functions inherited from esphome::Condition< Ts... > | |
bool | check_tuple_ (const std::tuple< Ts... > &tuple, seq< S... >) |
Definition at line 87 of file automation.h.
|
inline |
Definition at line 89 of file automation.h.
|
inlineoverridevirtual |
Implements esphome::Condition< Ts... >.
Definition at line 93 of file automation.h.
|
inline |
Definition at line 92 of file automation.h.
|
inline |
Definition at line 91 of file automation.h.
|
protected |
Definition at line 107 of file automation.h.
|
protected |
Definition at line 106 of file automation.h.
|
protected |
Definition at line 105 of file automation.h.