mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
fix MQTT discovery of custom entity doesn't consider type of data #1587
This commit is contained in:
@@ -32,7 +32,7 @@ class CustomEntityItem {
|
||||
uint16_t type_id;
|
||||
uint8_t offset;
|
||||
int8_t value_type;
|
||||
uint8_t uom;
|
||||
uint8_t uom; // DeviceValueUOM
|
||||
std::string name;
|
||||
double factor;
|
||||
bool writeable;
|
||||
|
||||
Reference in New Issue
Block a user