From 1e9dcab3caad3d0a4685c9e032ce7e92fa4d5b5c Mon Sep 17 00:00:00 2001 From: bdemsky Date: Sat, 3 Aug 2019 00:09:48 -0700 Subject: [PATCH] Don't check in generated files --- eventSimulator/eventSimulator.groovy | 46 ---------------------------- 1 file changed, 46 deletions(-) delete mode 100644 eventSimulator/eventSimulator.groovy diff --git a/eventSimulator/eventSimulator.groovy b/eventSimulator/eventSimulator.groovy deleted file mode 100644 index ed62239..0000000 --- a/eventSimulator/eventSimulator.groovy +++ /dev/null @@ -1,46 +0,0 @@ -while(true) { - def eventNumber = Verify.getInt(0,9) - switch(eventNumber) { - case 0: - def event = Verify.getInt(0,2) - if (event == 0) { - locationObject.setValue([name: "Location", value: "home", deviceId: "locationID0", descriptionText: "", - displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) - } else if (event == 1) { - locationObject.setValue([name: "Location", value: "away", deviceId: "locationID0", descriptionText: "", - displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) - } else { - locationObject.setValue([name: "Location", value: "night", deviceId: "locationID0", descriptionText: "", - displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) - } - break - case 1: - contactObject.setValue([name: "contact.open", value: "open", deviceId: "contactSensorID0", descriptionText: "", - displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) - break - case 2: - break - case 3: - break - case 4: - break - case 5: - break - case 6: - break - case 7: - break - case 8: - break - case 9: - def event = Verify.getInt(0,1) - if (event == 0) { - aeonKeyFobObject.setValue([name: "button", value: "pushed", deviceId: "aeonKeyFobID0", descriptionText: "", - displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) - } else { - aeonKeyFobObject.setValue([name: "button", value: "held", deviceId: "aeonKeyFobID0", descriptionText: "", - displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) - } - break - } -} -- 2.34.1