ESPHome  2022.5.1
Data Fields
esphome::mqtt::MQTTDiscoveryInfo Struct Reference

Internal struct for MQTT Home Assistant discovery. More...

#include <mqtt_client.h>

Data Fields

std::string prefix
 The Home Assistant discovery prefix. Empty means disabled. More...
 
bool retain
 Whether to retain discovery messages. More...
 
bool clean
 
MQTTDiscoveryUniqueIdGenerator unique_id_generator
 
MQTTDiscoveryObjectIdGenerator object_id_generator
 

Detailed Description

Internal struct for MQTT Home Assistant discovery.

See MQTT Discovery.

Definition at line 70 of file mqtt_client.h.

Field Documentation

◆ clean

bool esphome::mqtt::MQTTDiscoveryInfo::clean

Definition at line 73 of file mqtt_client.h.

◆ object_id_generator

MQTTDiscoveryObjectIdGenerator esphome::mqtt::MQTTDiscoveryInfo::object_id_generator

Definition at line 75 of file mqtt_client.h.

◆ prefix

std::string esphome::mqtt::MQTTDiscoveryInfo::prefix

The Home Assistant discovery prefix. Empty means disabled.

Definition at line 71 of file mqtt_client.h.

◆ retain

bool esphome::mqtt::MQTTDiscoveryInfo::retain

Whether to retain discovery messages.

Definition at line 72 of file mqtt_client.h.

◆ unique_id_generator

MQTTDiscoveryUniqueIdGenerator esphome::mqtt::MQTTDiscoveryInfo::unique_id_generator

Definition at line 74 of file mqtt_client.h.


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