Add default object_id_generator for mqtt (#3389)

This commit is contained in:
Jesse Hills
2022-04-14 11:25:31 +12:00
committed by GitHub
parent b4a86ce6cf
commit 047c18eac0
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -277,6 +277,7 @@ class MQTTClientComponent : public Component {
.retain = true,
.clean = false,
.unique_id_generator = MQTT_LEGACY_UNIQUE_ID_GENERATOR,
.object_id_generator = MQTT_NONE_OBJECT_ID_GENERATOR,
};
std::string topic_prefix_{};
MQTTMessage log_message_;