mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
enclose device name in quotes, as we now use commas and it breaks csv
This commit is contained in:
@@ -1274,7 +1274,9 @@ void EMSdevice::getCustomizationEntities(std::vector<std::string> & entity_ids)
|
||||
void EMSdevice::dump_value_info() {
|
||||
for (auto & dv : devicevalues_) {
|
||||
if (dv.fullname != nullptr) {
|
||||
Serial.print('\"');
|
||||
Serial.print(default_name());
|
||||
Serial.print('\"');
|
||||
Serial.print(',');
|
||||
Serial.print(device_type_name());
|
||||
Serial.print(',');
|
||||
|
||||
Reference in New Issue
Block a user