ESPHome 2025.5.0
Loading...
Searching...
No Matches
esphome::valve::ValveIsOpenCondition< Ts > Class Template Reference

#include <automation.h>

Inheritance diagram for esphome::valve::ValveIsOpenCondition< Ts >:
esphome::Condition< Ts... >

Public Member Functions

 ValveIsOpenCondition (Valve *valve)
 
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.
 

Protected Attributes

Valvevalve_
 

Additional Inherited Members

- Protected Member Functions inherited from esphome::Condition< Ts... >
bool check_tuple_ (const std::tuple< Ts... > &tuple, seq< S... >)
 

Detailed Description

template<typename... Ts>
class esphome::valve::ValveIsOpenCondition< Ts >

Definition at line 70 of file automation.h.

Constructor & Destructor Documentation

◆ ValveIsOpenCondition()

template<typename... Ts>
esphome::valve::ValveIsOpenCondition< Ts >::ValveIsOpenCondition ( Valve * valve)
inline

Definition at line 72 of file automation.h.

Member Function Documentation

◆ check()

template<typename... Ts>
bool esphome::valve::ValveIsOpenCondition< Ts >::check ( Ts... x)
inlineoverridevirtual

Implements esphome::Condition< Ts... >.

Definition at line 73 of file automation.h.

Field Documentation

◆ valve_

template<typename... Ts>
Valve* esphome::valve::ValveIsOpenCondition< Ts >::valve_
protected

Definition at line 76 of file automation.h.


The documentation for this class was generated from the following file: