mirror of
https://github.com/no2chem/wideq.git
synced 2025-06-02 15:30:14 -07:00
Pull out temperatures
This commit is contained in:
parent
b8b50e5309
commit
244f4756c5
@ -105,7 +105,8 @@ def example(args):
|
|||||||
print('Polling...')
|
print('Polling...')
|
||||||
res = mon.poll()
|
res = mon.poll()
|
||||||
if res:
|
if res:
|
||||||
print(res)
|
print('setting: {}°C'.format(res['TempCfg']))
|
||||||
|
print('current: {}°C'.format(res['TempCur']))
|
||||||
|
|
||||||
except wideq.NotLoggedInError:
|
except wideq.NotLoggedInError:
|
||||||
print('Session expired.')
|
print('Session expired.')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user