add uom back for Domoticz

This commit is contained in:
proddy
2024-11-01 13:04:32 +01:00
parent ed9e7f9e2f
commit 92041d5d3f
2 changed files with 2 additions and 2 deletions

View File

@@ -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
// Also omit the uom and other state classes
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)
}
}

View File

@@ -1 +1 @@
#define EMSESP_APP_VERSION "3.7.1-dev.2"
#define EMSESP_APP_VERSION "3.7.1-dev.3"