ESPHome 2026.4.0-dev
Loading...
Searching...
No Matches
esphome::alarm_control_panel::StateEnterForwarder< State > Struct Template Reference

Callback forwarder that triggers an Automation<> only when the alarm enters a specific state. More...

#include <automation.h>

Public Member Functions

void operator() (AlarmControlPanelState state) const
 

Data Fields

Automationautomation
 

Detailed Description

template<AlarmControlPanelState State>
struct esphome::alarm_control_panel::StateEnterForwarder< State >

Callback forwarder that triggers an Automation<> only when the alarm enters a specific state.

Pointer-sized (single Automation* field) to fit inline in Callback::ctx_.

Definition at line 17 of file automation.h.

Member Function Documentation

◆ operator()()

template<AlarmControlPanelState State>
void esphome::alarm_control_panel::StateEnterForwarder< State >::operator() ( AlarmControlPanelState state) const
inline

Definition at line 19 of file automation.h.

Field Documentation

◆ automation

Definition at line 18 of file automation.h.


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