azure-iot-explorer icon indicating copy to clipboard operation
azure-iot-explorer copied to clipboard

[BUG] boolean payload state is display as "yes"/"no" for an iot plug and play component

Open ryanwinter opened this issue 2 years ago • 1 comments

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:

  1. Install 0.15.8 or later
  2. 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.
  3. Examine the IoT Plug and Play components command panel.
  4. 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 image

Desktop (please complete the following information):

  • OS: Windows
  • OS 11
  • 0.15.8.0

ryanwinter avatar Aug 22 '23 21:08 ryanwinter