[MSA-1968] - Publish gideon smarthome changes

small change to sensor readings
This commit is contained in:
tslagle13
2017-05-11 11:06:44 -07:00
committed by GitHub
parent 7e25d32c70
commit c6c4b09fbb

View File

@@ -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
}
}