From c6c4b09fbb7679b2f9e784c12b036e8aaf450106 Mon Sep 17 00:00:00 2001 From: tslagle13 Date: Thu, 11 May 2017 11:06:44 -0700 Subject: [PATCH] [MSA-1968] - Publish gideon smarthome changes small change to sensor readings --- .../gideon-smart-home.src/gideon-smart-home.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/smartapps/gideon-api/gideon-smart-home.src/gideon-smart-home.groovy b/smartapps/gideon-api/gideon-smart-home.src/gideon-smart-home.groovy index a198d72..bea5f9f 100644 --- a/smartapps/gideon-api/gideon-smart-home.src/gideon-smart-home.groovy +++ b/smartapps/gideon-api/gideon-smart-home.src/gideon-smart-home.groovy @@ -765,7 +765,6 @@ def turnOffSwitch() { } else { device.off(); - return [Device_id: params.id, result_action: "200"] } } @@ -789,6 +788,7 @@ def getTempSensorsStatus(id) { return [] } else { def bat = getBatteryStatus(device.id) - return [temperature: device.currentValue('temperature')] + bat + def scale = [Scale: location.temperatureScale] + return [temperature: device.currentValue('temperature')] + bat + scale } - } \ No newline at end of file + }