mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
add uom back for Domoticz
This commit is contained in:
@@ -1128,7 +1128,7 @@ bool Mqtt::publish_ha_sensor_config(uint8_t type, // EMSdev
|
|||||||
// Domoticz doesn't support value templates, so we just use the value directly
|
// Domoticz doesn't support value templates, so we just use the value directly
|
||||||
// Also omit the uom and other state classes
|
// Also omit the uom and other state classes
|
||||||
doc["val_tpl"] = (std::string) "{{" + val_obj + "}}";
|
doc["val_tpl"] = (std::string) "{{" + val_obj + "}}";
|
||||||
add_ha_classes = false; // don't add the classes
|
// add_ha_classes = false; // don't add the classes, categories of uom (dev_cla, stat_cla)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
#define EMSESP_APP_VERSION "3.7.1-dev.2"
|
#define EMSESP_APP_VERSION "3.7.1-dev.3"
|
||||||
Reference in New Issue
Block a user