1
0
mirror of https://github.com/no2chem/wideq.git synced 2025-05-27 20:40:18 -07:00

Pull out temperatures

This commit is contained in:
Adrian Sampson 2018-01-08 14:26:14 -08:00
parent b8b50e5309
commit 244f4756c5

View File

@ -105,7 +105,8 @@ def example(args):
print('Polling...')
res = mon.poll()
if res:
print(res)
print('setting: {}°C'.format(res['TempCfg']))
print('current: {}°C'.format(res['TempCur']))
except wideq.NotLoggedInError:
print('Session expired.')