ESPHome  2024.10.2
Public Member Functions | Protected Attributes
esphome::fan::FanIsOffCondition< Ts > Class Template Reference

#include <automation.h>

Inheritance diagram for esphome::fan::FanIsOffCondition< Ts >:
esphome::Condition< Ts... >

Public Member Functions

 FanIsOffCondition (Fan *state)
 
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

Fanstate_
 

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::fan::FanIsOffCondition< Ts >

Definition at line 105 of file automation.h.

Constructor & Destructor Documentation

◆ FanIsOffCondition()

template<typename... Ts>
esphome::fan::FanIsOffCondition< Ts >::FanIsOffCondition ( Fan state)
inlineexplicit

Definition at line 107 of file automation.h.

Member Function Documentation

◆ check()

template<typename... Ts>
bool esphome::fan::FanIsOffCondition< Ts >::check ( Ts...  x)
inlineoverridevirtual

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

Definition at line 108 of file automation.h.

Field Documentation

◆ state_

template<typename... Ts>
Fan* esphome::fan::FanIsOffCondition< Ts >::state_
protected

Definition at line 111 of file automation.h.


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