Skip to content

Commit

Permalink
DVCSMP-2325 - Remove parse method from simulated Switch
Browse files Browse the repository at this point in the history
sin string
  • Loading branch information
juano2310 committed Jan 20, 2017
1 parent f0f02a2 commit 7648fd4
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
*/
metadata {

definition (name: "Simulated Switch", namespace: "smartthings/testing", author: "bob") {
capability "Switch"
capability "Relay Switch"
Expand All @@ -39,9 +39,7 @@ metadata {
}
}

def parse(String description) {
def pair = description.split(":")
createEvent(name: pair[0].trim(), value: pair[1].trim())
def parse(description) {
}

def on() {
Expand Down

0 comments on commit 7648fd4

Please sign in to comment.