I have an Netatmo account with old stations and modules in it that are no longer active. This means that not all data from my modules is available. I experienced this crash:
$ python3 lnetatmo.py
Traceback (most recent call last):
File "/home/dsmr/dsmr-reader/./.venv/lib/python3.9/site-packages/lnetatmo.py", line 914, in <module>
weatherStation.MinMaxTH() # Test GETMEASUR
File "/home/dsmr/dsmr-reader/./.venv/lib/python3.9/site-packages/lnetatmo.py", line 494, in MinMaxTH
T = [v[0] for v in resp['body'].values()]
AttributeError: 'list' object has no attribute 'values'
I have an Netatmo account with old stations and modules in it that are no longer active. This means that not all data from my modules is available. I experienced this crash:
I fixed this with the attached patch.