ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
esphome::ApplyCondition< Fn, Ts > Class Template Referencefinal

Condition counterpart of ApplyAction: one codegen-generated predicate with the parent baked in. More...

#include <base_automation.h>

Inheritance diagram for esphome::ApplyCondition< Fn, Ts >:
esphome::Condition< Ts... >

Public Member Functions

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.
 

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<auto Fn, typename... Ts>
class esphome::ApplyCondition< Fn, Ts >

Condition counterpart of ApplyAction: one codegen-generated predicate with the parent baked in.

Definition at line 279 of file base_automation.h.

Member Function Documentation

◆ check()

template<auto Fn, typename... Ts>
bool esphome::ApplyCondition< Fn, Ts >::check ( const Ts &... x)
inlineoverridevirtual

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

Definition at line 281 of file base_automation.h.


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