ESPHome 2026.3.0-dev
Loading...
Searching...
No Matches
esphome::select::SelectIsCondition< N, Ts > Class Template Reference

#include <automation.h>

Inheritance diagram for esphome::select::SelectIsCondition< N, Ts >:
esphome::Condition< Ts... >

Public Member Functions

 SelectIsCondition (Select *parent, const char *const *option_list)
 
bool check (const 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

Selectparent_
 
const char *const * option_list_
 

Additional Inherited Members

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

Detailed Description

template<size_t N, typename... Ts>
class esphome::select::SelectIsCondition< N, Ts >

Definition at line 69 of file automation.h.

Constructor & Destructor Documentation

◆ SelectIsCondition()

template<size_t N, typename... Ts>
esphome::select::SelectIsCondition< N, Ts >::SelectIsCondition ( Select * parent,
const char *const * option_list )
inline

Definition at line 71 of file automation.h.

Member Function Documentation

◆ check()

template<size_t N, typename... Ts>
bool esphome::select::SelectIsCondition< N, Ts >::check ( const Ts &... x)
inlineoverridevirtual

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

Definition at line 73 of file automation.h.

Field Documentation

◆ option_list_

template<size_t N, typename... Ts>
const char* const* esphome::select::SelectIsCondition< N, Ts >::option_list_
protected

Definition at line 85 of file automation.h.

◆ parent_

template<size_t N, typename... Ts>
Select* esphome::select::SelectIsCondition< N, Ts >::parent_
protected

Definition at line 84 of file automation.h.


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