Dropdown input fields with values from bucket

Dropdown input fields with values from bucket

Hello,

I normally use hard codes Dropdown values for these input fields because I can specify Label, Value and a default.

When I use values from a bucket, I only see the value, e.g. yes, no from the sendData code below.

Is there a way to add Labels and ideally a default to the bucket entries (perhaps in metadata) that provides the same functionality as the hard coded dropdown items?


const device = new Device({ token: "token...." })

await device.sendData([{
variable: "yesno",
value: "yes"
},{
variable: "yesno",
value: "no"
}])


Thanks

Gary