Some minor changes!
[smartthings-infrastructure.git] / Switch / Switches.groovy
index c27440d0db938f74d5f062dc95615fa1f7e7a3f6..152096db303471cfc66dfece1098095c9ea6e478 100644 (file)
@@ -51,6 +51,9 @@ public class Switches {
        def each(Closure Input) {
                switches.each(Input)
        }
+       def eachWithIndex(Closure Input) {
+               switches.eachWithIndex(Input)
+       }
        def find(Closure Input) {
                switches.find(Input)
        }