mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
[mqtt] fix missing initializer in MQTTClientComponent::disable_discovery (#7271)
This commit is contained in:
parent
4cb174585c
commit
8756b41b63
1 changed files with 1 additions and 0 deletions
|
@ -632,6 +632,7 @@ void MQTTClientComponent::disable_discovery() {
|
|||
this->discovery_info_ = MQTTDiscoveryInfo{
|
||||
.prefix = "",
|
||||
.retain = false,
|
||||
.discover_ip = false,
|
||||
.clean = false,
|
||||
.unique_id_generator = MQTT_LEGACY_UNIQUE_ID_GENERATOR,
|
||||
.object_id_generator = MQTT_NONE_OBJECT_ID_GENERATOR,
|
||||
|
|
Loading…
Reference in a new issue