From: Seyed Amir Hossein Aqajari Date: Mon, 5 Aug 2019 20:50:02 +0000 (-0700) Subject: Update gideon-smart-home.groovy X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c37de03a67dafbe13ab2d1e1c83b1aafe870296f;p=smartapps.git Update gideon-smart-home.groovy --- diff --git a/official/gideon-smart-home.groovy b/official/gideon-smart-home.groovy index 439793e..f1a7d0a 100755 --- a/official/gideon-smart-home.groovy +++ b/official/gideon-smart-home.groovy @@ -386,15 +386,6 @@ def getKelvinStatus(id) { } //switch level -def getLevelStatus() { - def device = switchlevels.find { it.id == params.id } - if (!device) { - [Level: "No dimmer"] - } else { - return [Level: device.currentValue('level')] - } -} - def getLevelStatus(id) { def device = switchlevels.find { it.id == id } if (!device) {