renamed product ID, changed case for all ww names

This commit is contained in:
proddy
2021-08-07 21:45:43 +02:00
parent 4e9cf72816
commit 6e3b30b03c
6 changed files with 136 additions and 137 deletions

View File

@@ -193,7 +193,7 @@ bool Solar::publish_ha_config() {
doc["stat_t"] = stat_t;
char name_s[40];
snprintf_P(name_s, sizeof(name_s), PSTR("* %s Product ID"), device_type_name().c_str());
snprintf(name_s, sizeof(name_s), FSTR_(productid_fmt), device_type_name().c_str());
doc["name"] = name_s;
doc["val_tpl"] = FJSON("{{value_json.id}}");