ESPHome 2026.3.0-dev
Loading...
Searching...
No Matches
esphome::cover::CoverTrigger< OP > Class Template Reference

#include <automation.h>

Inheritance diagram for esphome::cover::CoverTrigger< OP >:
esphome::Trigger<>

Public Member Functions

 CoverTrigger (Cover *a_cover)
 
- 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

optional< CoverOperationlast_operation_ {}
 
- Protected Attributes inherited from esphome::Trigger<>
Automation< Ts... > * automation_parent_
 

Detailed Description

template<CoverOperation OP>
class esphome::cover::CoverTrigger< OP >

Definition at line 125 of file automation.h.

Constructor & Destructor Documentation

◆ CoverTrigger()

template<CoverOperation OP>
esphome::cover::CoverTrigger< OP >::CoverTrigger ( Cover * a_cover)
inline

Definition at line 127 of file automation.h.

Field Documentation

◆ last_operation_

template<CoverOperation OP>
optional<CoverOperation> esphome::cover::CoverTrigger< OP >::last_operation_ {}
protected

Definition at line 140 of file automation.h.


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