ESPHome  2024.11.0
Public Member Functions | Protected Attributes
esphome::light::LightIsOffCondition< Ts > Class Template Reference

#include <automation.h>

Inheritance diagram for esphome::light::LightIsOffCondition< Ts >:
esphome::Condition< Ts... >

Public Member Functions

 LightIsOffCondition (LightState *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

LightStatestate_
 

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::light::LightIsOffCondition< Ts >

Definition at line 115 of file automation.h.

Constructor & Destructor Documentation

◆ LightIsOffCondition()

template<typename... Ts>
esphome::light::LightIsOffCondition< Ts >::LightIsOffCondition ( LightState state)
inlineexplicit

Definition at line 117 of file automation.h.

Member Function Documentation

◆ check()

template<typename... Ts>
bool esphome::light::LightIsOffCondition< Ts >::check ( Ts...  x)
inlineoverridevirtual

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

Definition at line 118 of file automation.h.

Field Documentation

◆ state_

template<typename... Ts>
LightState* esphome::light::LightIsOffCondition< Ts >::state_
protected

Definition at line 121 of file automation.h.


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