ESPHome  2022.9.1
Public Member Functions | Protected Attributes
esphome::cover::CoverIsOpenCondition< Ts > Class Template Reference

#include <automation.h>

Inheritance diagram for esphome::cover::CoverIsOpenCondition< Ts >:
esphome::Condition< Ts... >

Public Member Functions

 CoverIsOpenCondition (Cover *cover)
 
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

Covercover_
 

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::cover::CoverIsOpenCondition< Ts >

Definition at line 94 of file automation.h.

Constructor & Destructor Documentation

◆ CoverIsOpenCondition()

template<typename... Ts>
esphome::cover::CoverIsOpenCondition< Ts >::CoverIsOpenCondition ( Cover cover)
inline

Definition at line 96 of file automation.h.

Member Function Documentation

◆ check()

template<typename... Ts>
bool esphome::cover::CoverIsOpenCondition< Ts >::check ( Ts...  x)
inlineoverridevirtual

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

Definition at line 97 of file automation.h.

Field Documentation

◆ cover_

template<typename... Ts>
Cover* esphome::cover::CoverIsOpenCondition< Ts >::cover_
protected

Definition at line 100 of file automation.h.


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