Merge pull request #1608 from juano2310/sim_fix

DVCSMP-2325 - Remove parse method from simulated Switch
This commit is contained in:
bflorian
2017-01-20 14:27:08 -08:00
committed by GitHub

View File

@@ -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() {