mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
MQTT Formatting payload (nested vs single) is a pull-down option
This commit is contained in:
@@ -435,7 +435,7 @@ void EMSESP::publish_device_values(uint8_t device_type) {
|
||||
JsonObject json = doc.to<JsonObject>();
|
||||
bool need_publish = false;
|
||||
|
||||
bool nested = Mqtt::nested_format();
|
||||
uint8_t nested = Mqtt::nested_format();
|
||||
|
||||
// group by device type
|
||||
for (const auto & emsdevice : emsdevices) {
|
||||
|
||||
Reference in New Issue
Block a user