aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgcohen2015-01-06 02:17:07 -0800
committergcohen2015-01-06 02:17:07 -0800
commit4df6d1d398e9e37edce51f8c963d974a848702d1 (patch)
treeb9dd69319d48f374e5df7a1fe7410154143bdbbf
parent9f6f88760d8d46b9e2fdc8f82bc0f24a98b4ba8b (diff)
downloadpubnub-python-4df6d1d398e9e37edce51f8c963d974a848702d1.tar.bz2
Do no issue a new command for an LED if it hasn't ended it's last operation
-rw-r--r--python/examples/futureHouse/futureHouse.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/examples/futureHouse/futureHouse.py b/python/examples/futureHouse/futureHouse.py
index 0597b19..0aa553b 100644
--- a/python/examples/futureHouse/futureHouse.py
+++ b/python/examples/futureHouse/futureHouse.py
@@ -84,6 +84,7 @@ def callback(message, channel):
if 'getEnviro' in message:
enviro = {}
enviro['temp1'] = '{0:0.2f} *C'.format(sensor.read_temperature())
+ enviro['temp1FInt'] = '{0:0.2f}'.format(sensor.read_temperature())
enviro['pres1'] = '{0:0.2f} Pa'.format(sensor.read_pressure())
enviro['alt1'] = '{0:0.2f} m'.format(sensor.read_altitude())
enviro['pres2'] = '{0:0.2f} Pa'.format(sensor.read_sealevel_pressure())