From: Seyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Date: Mon, 5 Aug 2019 20:58:13 +0000 (-0700)
Subject: Update gideon-smart-home.groovy
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=63e0e832d579ed285550c3eda54606a6a90af2d2;p=smartapps.git

Update gideon-smart-home.groovy
---

diff --git a/official/gideon-smart-home.groovy b/official/gideon-smart-home.groovy
index 45babc1..4960035 100755
--- a/official/gideon-smart-home.groovy
+++ b/official/gideon-smart-home.groovy
@@ -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) {