return a datetime on success
This commit is contained in:
parent
c5c64435cf
commit
5cfd91717f
2 changed files with 16 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ while True:
|
|||
if result:
|
||||
value, timestamp = result
|
||||
print "Temperature:\t%sC\t(%s)\n" % (value, str(timestamp))
|
||||
|
||||
|
||||
if dataTypes & telldus.TELLSTICK_HUMIDITY:
|
||||
result = telldus.tdSensorValue(protocol, model, sensorId, telldus.TELLSTICK_HUMIDITY)
|
||||
if result:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue