[SML] Remove colon at the end of the labels

Remove colon at the end of the labels on the WebUI to use the same format then all other sensors. Just a little cosmetics.
This commit is contained in:
SteWers 2022-01-15 19:29:31 +01:00 committed by GitHub
parent 88b296cf83
commit 0119bd1fb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2345,7 +2345,7 @@ void SML_Show(boolean json) {
} else {
// web ui export
//snprintf_P(b_mqtt_data, sizeof(b_mqtt_data), "%s{s}%s %s: {m}%s %s{e}", b_mqtt_data,meter_desc[mindex].prefix,name,tpowstr,unit);
if (strcmp(name,"*")) WSContentSend_PD(PSTR("{s}%s %s: {m}%s %s{e}"),meter_desc_p[mindex].prefix,name,tpowstr,unit);
if (strcmp(name,"*")) WSContentSend_PD(PSTR("{s}%s %s {m}%s %s{e}"),meter_desc_p[mindex].prefix,name,tpowstr,unit);
}
}
}