mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
include tag in entity_dump unless we're generating it for modbus
This commit is contained in:
@@ -1297,11 +1297,13 @@ void EMSdevice::dump_devicevalue_info() {
|
||||
Serial.print(product_id_);
|
||||
Serial.print(',');
|
||||
|
||||
// <tag>/<shortname>
|
||||
// <tag>/<shortname> unless generating for modbus registers - used in scripts/generate_csv_and_headers.sh
|
||||
#ifndef EMSESP_MODBUS
|
||||
if (dv.tag > DeviceValueTAG::TAG_DEVICE_DATA) {
|
||||
Serial.print(tag_to_string(dv.tag));
|
||||
Serial.print('.');
|
||||
}
|
||||
#endif
|
||||
Serial.print(dv.short_name);
|
||||
Serial.print(',');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user