Azure / iot-plugandplay-models

Repository of IoT Plug and Play models using DTDL
MIT License
57 stars 237 forks source link

"dmr-client validate" report an error when using "humidity" semantic type and "%" unit #418

Closed tmb-soc closed 1 year ago

tmb-soc commented 2 years ago

The validation of template fails when data in template are using "Humidity" semantic type and "percent" unit. { "@id": "dtmi:com:socomec:socomecdevice:Global_0_85894;1", "@type": [ "Telemetry", "Humidity" ], "displayName": { "en": "Humidity" }, "name": "Global_0_85894", "schema": "float", "unit": "percent" },

It is working in IOT Central: image

But this is rejected by dmr-client: image

However, it works if the semantic type is set to "RelativeHumidity".

rido-min commented 2 years ago

Hi @tmb-soc

Thanks for reporting this issue, this seems an issue in Central rather than DMR.

I'm adding @sandeeppujar from the central team to take note before closing.

rido-min commented 1 year ago

Closing as this is not related to this repo. If still require a resolution I'd suggest filing an issue in the Azure IoT Central docs