Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Air_Wet_Bulb_Temperature_Sensor.json contains faulty double extend #258

Open
ogiel opened this issue Feb 13, 2024 · 1 comment
Open

Air_Wet_Bulb_Temperature_Sensor.json contains faulty double extend #258

ogiel opened this issue Feb 13, 2024 · 1 comment

Comments

@ogiel
Copy link

ogiel commented Feb 13, 2024

Source/DTDLv2/Brick/Point/Sensor/Temperature-/Air-/Air_Wet_Bulb_Temperature_Sensor/Air_Wet_Bulb_Temperature_Sensor.json

"extends": [
    "dtmi:org:brickschema:schema:Brick:Temperature_Sensor;1",
    "dtmi:org:brickschema:schema:Brick:Air_Temperature_Sensor;1"
  ],

This is the extends part of the air wet bulb temperature sensor, where the temperature_sensor and air_temperature_sensor are both extended, air_temperature_sensor is an empty interface on top of the temperature_sensor. The outcome in Azure Digital Twins is that it shows all properties twice, so that is a bug as well, but writing the values works fine.
Usually when you try to upload a model to ADT with two equal property names it throws an error but somehow it doesn't with double extends. Might extend issue to ADT team as well.

@PeteHart
Copy link
Contributor

PeteHart commented Mar 7, 2024

Thanks for pointing out. We agree it's an error and we'll fix as part of the upcoming REC 4.1 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants