ESPHome  2024.9.2
Public Member Functions
esphome::sensor::SensorStateTrigger Class Reference

#include <automation.h>

Inheritance diagram for esphome::sensor::SensorStateTrigger:
esphome::Trigger< float >

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Definition at line 10 of file automation.h.

Constructor & Destructor Documentation

◆ SensorStateTrigger()

esphome::sensor::SensorStateTrigger::SensorStateTrigger ( Sensor parent)
inlineexplicit

Definition at line 12 of file automation.h.


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