diff options
| author | gcohen | 2014-12-30 15:36:01 -0800 |
|---|---|---|
| committer | gcohen | 2014-12-30 15:36:01 -0800 |
| commit | 4e1995371c241196dc652053204bd2632d5efb72 (patch) | |
| tree | 686192d10130995aadee34091f1a9086d1ecb63d | |
| parent | 7668456c4f0e245032433ab291b93cb855acb7d8 (diff) | |
| download | pubnub-python-4e1995371c241196dc652053204bd2632d5efb72.tar.bz2 | |
adding PN control
| -rw-r--r-- | python/examples/futureHouse/futureHouse.py | 2 |
1 files changed, 1 insertions, 1 deletions
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()) |
