ESPHome  2024.4.1
Data Fields
esphome::mqtt::SendDiscoveryConfig Struct Reference

Simple Helper struct used for Home Assistant MQTT send_discovery(). More...

#include <mqtt_component.h>

Data Fields

bool state_topic {true}
 If the state topic should be included. Defaults to true. More...
 
bool command_topic {true}
 If the command topic should be included. Default to true. More...
 

Detailed Description

Simple Helper struct used for Home Assistant MQTT send_discovery().

Definition at line 18 of file mqtt_component.h.

Field Documentation

◆ command_topic

bool esphome::mqtt::SendDiscoveryConfig::command_topic {true}

If the command topic should be included. Default to true.

Definition at line 20 of file mqtt_component.h.

◆ state_topic

bool esphome::mqtt::SendDiscoveryConfig::state_topic {true}

If the state topic should be included. Defaults to true.

Definition at line 19 of file mqtt_component.h.


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