So I’m working on an app to check the current state of multiple open/close devices. Obviously I can have the user input multiple sensors by adding the “multiple: true” to the preferences section. And if not mistaken the devices are known as sensor1, sensor2, sensor3, etc. (assuming I put sensor as the input name). But how do I know how many devices the user selected when installed?
What I’d like to do is check each sensor and then send a text if with the name of a sensor that is open.