Skip to content

Commit

Permalink
Merge pull request SmartThingsCommunity#1608 from juano2310/sim_fix
Browse files Browse the repository at this point in the history
DVCSMP-2325 - Remove parse method from simulated Switch
  • Loading branch information
bflorian authored Jan 20, 2017
2 parents f0f02a2 + 7648fd4 commit 9900e53
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 9900e53

Please sign in to comment.