Fixing some bugs
[smartthings-infrastructure.git] / Switch / Switches.groovy
index e6ac864..a0e191c 100644 (file)
@@ -58,6 +58,10 @@ public class Switches {
        }
 
        //By Apps
        }
 
        //By Apps
+       def eventsSince(Date dateObj, LinkedHashMap metaData) {
+               return switches[0].eventsSince()
+       }
+
        def setLevel(int level) {
                currentLevel = level
                switches[0].setLevel(level)
        def setLevel(int level) {
                currentLevel = level
                switches[0].setLevel(level)