azure-iot-explorer
azure-iot-explorer copied to clipboard
[BUG] boolean payload state is display as "yes"/"no" for an iot plug and play component
Describe the bug Boolean state in a DTDL command's request payload is rendered with the option of yes/no instead of true/false. This issue was introduced in version 0.15.8.
To Reproduce Steps to reproduce the behavior:
- Install 0.15.8 or later
- Examine a device that has a DTDL model with a command that uses a boolean in the request payload, such as dtmi:azurertos:devkit:gsgmxchip;2.
- Examine the IoT Plug and Play components command panel.
- Observe that it provides state options as "Yes"/"No" instead of "True"/"False".
Expected behavior Boolean values should be true/false, not yes/no.
Screenshots
Desktop (please complete the following information):
- OS: Windows
- OS 11
- 0.15.8.0