From 7648fd4a176288351f10e47afc657126941a7e9c Mon Sep 17 00:00:00 2001 From: juano2310 Date: Fri, 20 Jan 2017 14:42:20 -0500 Subject: [PATCH] DVCSMP-2325 - Remove parse method from simulated Switch sin string --- .../testing/simulated-switch.src/simulated-switch.groovy | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/devicetypes/smartthings/testing/simulated-switch.src/simulated-switch.groovy b/devicetypes/smartthings/testing/simulated-switch.src/simulated-switch.groovy index e15cf0da198..a977b867cc6 100644 --- a/devicetypes/smartthings/testing/simulated-switch.src/simulated-switch.groovy +++ b/devicetypes/smartthings/testing/simulated-switch.src/simulated-switch.groovy @@ -12,7 +12,7 @@ * */ metadata { - + definition (name: "Simulated Switch", namespace: "smartthings/testing", author: "bob") { capability "Switch" capability "Relay Switch" @@ -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() {