From c37de03a67dafbe13ab2d1e1c83b1aafe870296f Mon Sep 17 00:00:00 2001 From: Seyed Amir Hossein Aqajari Date: Mon, 5 Aug 2019 13:50:02 -0700 Subject: [PATCH] Update gideon-smart-home.groovy --- official/gideon-smart-home.groovy | 9 --------- 1 file changed, 9 deletions(-) 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) { -- 2.34.1