Good morning. I noticed that after the last update, the integration to netatmo does not work well and even the one with nanoleaf constantly loses connection with the panels. Is it just my problem?
Netatmo integration was working “not good” in earlier version as well,
2021-11-12 17:46:53 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/netatmo/data_handler.py", line 114, in async_update
await self.async_fetch_data(data_class_name)
File "/usr/src/homeassistant/homeassistant/components/netatmo/data_handler.py", line 144, in async_fetch_data
await self.data[data_class_entry].async_update()
File "/usr/local/lib/python3.9/site-packages/pyatmo/weather_station.py", line 321, in async_update
resp = await self.auth.async_post_request(url=self.url_req)
File "/usr/local/lib/python3.9/site-packages/pyatmo/auth.py", line 351, in async_post_request
resp_json = await resp.json()
File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1097, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://api.netatmo.com/api/getstationsdata')
2021-11-12 17:48:09 WARNING (MainThread) [homeassistant.components.automation.energy_gas_pulse_received] Energy Gas Pulse Received: Already running
2021-11-12 17:48:53 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/netatmo/data_handler.py", line 114, in async_update
await self.async_fetch_data(data_class_name)
File "/usr/src/homeassistant/homeassistant/components/netatmo/data_handler.py", line 144, in async_fetch_data
await self.data[data_class_entry].async_update()
File "/usr/local/lib/python3.9/site-packages/pyatmo/camera.py", line 642, in async_update
resp = await self.auth.async_post_request(
File "/usr/local/lib/python3.9/site-packages/pyatmo/auth.py", line 351, in async_post_request
resp_json = await resp.json()
File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1097, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://api.netatmo.com/api/gethomedata')
2021-11-12 17:50:53 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/netatmo/data_handler.py", line 114, in async_update
await self.async_fetch_data(data_class_name)
File "/usr/src/homeassistant/homeassistant/components/netatmo/data_handler.py", line 144, in async_fetch_data
await self.data[data_class_entry].async_update()
File "/usr/local/lib/python3.9/site-packages/pyatmo/thermostat.py", line 143, in async_update
resp = await self.auth.async_post_request(url=_GETHOMESDATA_REQ)
File "/usr/local/lib/python3.9/site-packages/pyatmo/auth.py", line 351, in async_post_request
resp_json = await resp.json()
File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1097, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://api.netatmo.com/api/homesdata')