Skip to content

Commit

Permalink
add uom back for Domoticz
Browse files Browse the repository at this point in the history
  • Loading branch information
proddy committed Nov 1, 2024
1 parent ed9e7f9 commit 92041d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mqtt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define EMSESP_APP_VERSION "3.7.1-dev.2"
#define EMSESP_APP_VERSION "3.7.1-dev.3"

0 comments on commit 92041d5

Please sign in to comment.