ESPHome 2026.1.0-dev
Loading...
Searching...
No Matches
esphome::alarm_control_panel::StateEnterTrigger< State > Class Template Reference

Template trigger that fires when entering a specific state. More...

#include <automation.h>

Inheritance diagram for esphome::alarm_control_panel::StateEnterTrigger< State >:
esphome::Trigger<>

Public Member Functions

 StateEnterTrigger (AlarmControlPanel *alarm_control_panel)
 
- Public Member Functions inherited from esphome::Trigger<>
void trigger (const Ts &...x)
 Inform the parent automation that the event has triggered.
 
void set_automation_parent (Automation< Ts... > *automation_parent)
 
void stop_action ()
 Stop any action connected to this trigger.
 
bool is_action_running ()
 Returns true if any action connected to this trigger is running.
 

Protected Attributes

AlarmControlPanelalarm_control_panel_
 
- Protected Attributes inherited from esphome::Trigger<>
Automation< Ts... > * automation_parent_
 

Detailed Description

template<AlarmControlPanelState State>
class esphome::alarm_control_panel::StateEnterTrigger< State >

Template trigger that fires when entering a specific state.

Definition at line 18 of file automation.h.

Constructor & Destructor Documentation

◆ StateEnterTrigger()

template<AlarmControlPanelState State>
esphome::alarm_control_panel::StateEnterTrigger< State >::StateEnterTrigger ( AlarmControlPanel * alarm_control_panel)
inlineexplicit

Definition at line 20 of file automation.h.

Field Documentation

◆ alarm_control_panel_

template<AlarmControlPanelState State>
AlarmControlPanel* esphome::alarm_control_panel::StateEnterTrigger< State >::alarm_control_panel_
protected

Definition at line 28 of file automation.h.


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