ESPHome 2025.5.0
Loading...
Searching...
No Matches
esphome::mqtt::MQTTConnectTrigger Class Reference

#include <mqtt_client.h>

Inheritance diagram for esphome::mqtt::MQTTConnectTrigger:
esphome::Trigger<>

Public Member Functions

 MQTTConnectTrigger (MQTTClientComponent *&client)
 
- Public Member Functions inherited from esphome::Trigger<>
void trigger (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.
 

Additional Inherited Members

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

Detailed Description

Definition at line 365 of file mqtt_client.h.

Constructor & Destructor Documentation

◆ MQTTConnectTrigger()

esphome::mqtt::MQTTConnectTrigger::MQTTConnectTrigger ( MQTTClientComponent *& client)
inlineexplicit

Definition at line 367 of file mqtt_client.h.


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