ESPHome 2026.5.0-dev
Loading...
Searching...
No Matches
automation.h File Reference

Go to the source code of this file.

Data Structures

struct  esphome::gens< 0, S... >
 
class  esphome::TemplatableFn< T, X >
 Function-pointer-only templatable storage (4 bytes on 32-bit). More...
 
class  esphome::TemplatableValue< T, X >
 Primary TemplatableValue: stores either a constant value or a function pointer. More...
 
union  esphome::TemplatableValue< T, X >::Storage
 
class  esphome::TemplatableValue< std::string, X... >
 Specialization for std::string: supports VALUE, STATIC_STRING, FLASH_STRING, stateless lambdas, and stateful lambdas (std::function). More...
 
class  esphome::Condition< Ts >
 Base class for all automation conditions. More...
 
class  esphome::Trigger< Ts >
 
class  esphome::Action< Ts >
 
class  esphome::ActionList< Ts >
 
class  esphome::Automation< Ts >
 
struct  esphome::TriggerForwarder< Ts >
 Callback forwarder that triggers an Automation directly. More...
 
struct  esphome::TriggerOnTrueForwarder
 Callback forwarder that triggers an Automation<> only when the bool arg is true. More...
 
struct  esphome::TriggerOnFalseForwarder
 Callback forwarder that triggers an Automation<> only when the bool arg is false. More...
 

Namespaces

namespace  esphome
 Providing packet encoding functions for exchanging data with a remote host.
 

Typedefs

template<typename T , typename... X>
using esphome::TemplatableStorage
 Selects TemplatableFn (4 bytes) for trivially copyable types, TemplatableValue (8 bytes) otherwise.
 

Functions

template<int... >
struct esphome::ESPDEPRECATED ("Use std::index_sequence instead. Removed in 2026.6.0", "2025.12.0") seq