mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-11 02:09:57 +03:00
replace char * tags with an ID #632
This commit is contained in:
@@ -90,6 +90,7 @@ MAKE_PSTR_WORD(generic)
|
||||
MAKE_PSTR_WORD(dallassensor)
|
||||
MAKE_PSTR_WORD(unknown)
|
||||
|
||||
// strings
|
||||
MAKE_PSTR(EMSESP, "EMS-ESP")
|
||||
MAKE_PSTR(master_thermostat_fmt, "Master Thermostat Device ID = %s")
|
||||
MAKE_PSTR(host_fmt, "Host = %s")
|
||||
@@ -107,26 +108,6 @@ MAKE_PSTR(watchid_optional, "[ID]")
|
||||
MAKE_PSTR(watch_format_optional, "[off | on | raw | unknown]")
|
||||
MAKE_PSTR(invalid_watch, "Invalid watch type")
|
||||
MAKE_PSTR(data_mandatory, "\"XX XX ...\"")
|
||||
|
||||
// uom - also used with HA
|
||||
MAKE_PSTR(percent, "%")
|
||||
MAKE_PSTR(degrees, "°C")
|
||||
MAKE_PSTR(kwh, "kWh")
|
||||
MAKE_PSTR(wh, "Wh")
|
||||
MAKE_PSTR(bar, "bar")
|
||||
MAKE_PSTR(minutes, "minutes")
|
||||
MAKE_PSTR(hours, "hours")
|
||||
MAKE_PSTR(ua, "uA")
|
||||
MAKE_PSTR(lmin, "l/min")
|
||||
|
||||
// Home Assistant icons (https://materialdesignicons.com/)
|
||||
MAKE_PSTR(icontemperature, "mdi:temperature-celsius")
|
||||
MAKE_PSTR(iconpercent, "mdi:percent-outline")
|
||||
MAKE_PSTR(iconfire, "mdi:fire")
|
||||
MAKE_PSTR(iconfan, "mdi:fan")
|
||||
MAKE_PSTR(iconflame, "mdi:flash")
|
||||
MAKE_PSTR(iconvalve, "mdi:valve")
|
||||
|
||||
MAKE_PSTR(asterisks, "********")
|
||||
MAKE_PSTR(n_mandatory, "<n>")
|
||||
MAKE_PSTR(id_optional, "[id|hc]")
|
||||
|
||||
Reference in New Issue
Block a user