From 4e1995371c241196dc652053204bd2632d5efb72 Mon Sep 17 00:00:00 2001 From: gcohen Date: Tue, 30 Dec 2014 15:36:01 -0800 Subject: adding PN control --- python/examples/futureHouse/futureHouse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/examples') diff --git a/python/examples/futureHouse/futureHouse.py b/python/examples/futureHouse/futureHouse.py index a7e6966..ea25e81 100644 --- a/python/examples/futureHouse/futureHouse.py +++ b/python/examples/futureHouse/futureHouse.py @@ -68,7 +68,7 @@ def callback(message, channel): pubnub.publish(channel, leds, callback=pubMessage, error=pubMessage) -if 'getEnviro' in message: + if 'getEnviro' in message: enviro = {} enviro['temp1'] = '{0:0.2f} *C'.format(sensor.read_temperature()) enviro['pres1'] = '{0:0.2f} Pa'.format(sensor.read_pressure()) -- cgit v1.2.3