ESPHome  2024.4.0
Public Member Functions
esphome::mqtt::MQTTJsonMessageTrigger Class Reference

#include <mqtt_client.h>

Inheritance diagram for esphome::mqtt::MQTTJsonMessageTrigger:
esphome::Trigger< JsonObjectConst >

Public Member Functions

 MQTTJsonMessageTrigger (const std::string &topic, uint8_t qos)
 
- Public Member Functions inherited from esphome::Trigger< JsonObjectConst >
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< JsonObjectConst >
Automation< Ts... > * automation_parent_
 

Detailed Description

Definition at line 340 of file mqtt_client.h.

Constructor & Destructor Documentation

◆ MQTTJsonMessageTrigger()

esphome::mqtt::MQTTJsonMessageTrigger::MQTTJsonMessageTrigger ( const std::string &  topic,
uint8_t  qos 
)
inlineexplicit

Definition at line 342 of file mqtt_client.h.


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