This has been happening to me a lot recently. My selection inputs are getting stuck in my custom Smart App. For example, I have this input…
section("Switch Types") {
input "switchTypes", "enum", title: "What switch types?", multiple: true, required: true,
options: getSwitchTypes(), submitOnChange: true
log("switchTypes = ${switchTypes}.", "INFO")
}
and for reference…
def getSwitchTypes() {
return ["Switches", "Dimmers", "Color Lights", "Color Temperature Lights"]
}
After selecting all items (“Switches”, “Dimmers”, …) the log statement correctly logs this…
Switchr -- switchTypes = [Switches, Dimmers, Color Lights, Color Temperature Lights].
Then I can do any combination of hitting back, remove, … and start over and only select some of the options, for example just “Switches” and the switchTypes
input variable still contains all of the options and the log logs this…
Switchr -- switchTypes = [Switches, Dimmers, Color Lights, Color Temperature Lights].
If I change the name of the input variable to switchTypes2
and the log statement
log("switchTypes2 = ${switchTypes2}.", "INFO")
correctly logs this…
Switchr -- switchTypes2 = [Dimmers].
and then eventually gets stuck so no matter what I select it still logs…
Switchr -- switchTypes2 = [Dimmers].
@RBoy, ever seen this?