mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
add v3.4 entity id flag to MQTT settings
This commit is contained in:
@@ -61,6 +61,10 @@ static String generateClientId() {
|
||||
#define FACTORY_MQTT_MULTIPLE_INSTANCES false
|
||||
#endif
|
||||
|
||||
#ifndef FACTORY_MQTT_ENTITY_FULLNAME
|
||||
#define FACTORY_MQTT_ENTITY_FULLNAME false
|
||||
#endif
|
||||
|
||||
class MqttSettings {
|
||||
public:
|
||||
// host and port - if enabled
|
||||
@@ -82,6 +86,9 @@ class MqttSettings {
|
||||
// multiple instances
|
||||
bool multiple_instances;
|
||||
|
||||
// use v3.4 entity fullnames in Discovery
|
||||
bool entity_fullname;
|
||||
|
||||
// proddy EMS-ESP specific
|
||||
String base;
|
||||
uint16_t publish_time_boiler;
|
||||
|
||||
Reference in New Issue
Block a user