I have a need for a preference in my smart app which will allow multiple selection.
I can’t figure out from the documentation how I am supposed to act on this once it is set.
If I create
input(name: “modes”, multiple: true, type: “enum”, title: “Make Mode buttons”, options: [“Cool”,“Dry”,“Heat”]), required: true
How do I code a check to see if “Cool” was selected ?
Will modes be a string with comma’s, an array, a list of some type ?