X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartthings-infrastructure.git;a=blobdiff_plain;f=DoorControl%2FDoorControl.groovy;h=c82587925e93dc58d473a03114673bd0e6ef2119;hp=d0b04d2838ddadea53bba5e5c369c51d1c0224c5;hb=e7a2ccbefad0e44d666b12a8071b6bb8886fec18;hpb=c63f0f08fcbfc5d1f1f382a280577d5dd8cd0c0d diff --git a/DoorControl/DoorControl.groovy b/DoorControl/DoorControl.groovy index d0b04d2..c825879 100644 --- a/DoorControl/DoorControl.groovy +++ b/DoorControl/DoorControl.groovy @@ -30,8 +30,6 @@ public class DoorControl { this.doorState = "open" sendEvent([name: "doorControl", value: "open", deviceId: this.id, descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) - sendEvent([name: "doorControl.open", value: "open", deviceId: this.id, descriptionText: "", - displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) } } @@ -43,8 +41,6 @@ public class DoorControl { this.doorState = "open" sendEvent([name: "doorControl", value: "open", deviceId: this.id, descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) - sendEvent([name: "doorControl.open", value: "open", deviceId: this.id, descriptionText: "", - displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) } } } @@ -56,8 +52,6 @@ public class DoorControl { this.doorState = "closed" sendEvent([name: "doorControl", value: "closed", deviceId: this.id, descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) - sendEvent([name: "doorControl.closed", value: "closed", deviceId: this.id, descriptionText: "", - displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) } } @@ -69,8 +63,6 @@ public class DoorControl { this.doorState = "closed" sendEvent([name: "doorControl", value: "closed", deviceId: this.id, descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) - sendEvent([name: "doorControl.closed", value: "closed", deviceId: this.id, descriptionText: "", - displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) } } }