Update WorkingFromHome.groovy
[smartapps.git] / official / gideon-smart-home.groovy
index 45babc1b9218d1d9cf870fcf8cac2fdc96c6365b..49600350c47b14afdcaca9f83f9d140ff593d403 100755 (executable)
@@ -677,17 +677,6 @@ def turnOffSwitch() {
 
 
 //TEMPERATURE
-def getTempSensorsStatus() {
-    def device = temperature_sensors.find { it.id == params.id }
-    if (!device) {
-            httpError(404, "Device not found")
-        } else {
-               def bat = getBatteryStatus(device.id)
-            def scale = [Scale: location.temperatureScale]
-               return [Device_state: device.currentValue('temperature')] + scale + bat
-   }
-}
-
 def getTempSensorsStatus(id) { 
     def device = temperature_sensors.find { it.id == id }
     if (!device) {