Hi Guys,
For below code
preferences {
section(“Select Devices”) {
// TODO: put inputs here
input “door”, “capability.contactSensor”, title: "Select a Door sensor"
input “livingMotion”, “capability.motionSensor”, title: "Select Living Room Sensor"
input “bedroomMotion”, “capability.motionSensor”, title: "Select Bedroom Sensor"
input “bathroomMotion”, “capability.motionSensor”, title: "Select Bathroom Sensor"
input “kitchenMotion”, “capability.motionSensor”, title: “Select Kitchen Sensor”
}
}
I defined 5 sensors for this smartApp, but currently i only have 4 sensors with me, can I put 1 of the sensor input as optional without remove my current code?
Currently SmartThings App need user fill all the input, else I will get “Please fill out all required fields” message on my SmartThings App