About
Met office not working can on either of the sensors can anyone advise? API is active and works, but HA isn’t showing metoffice on GUI,
Thanks in advance.
Home Assistant
0.74.2
Error while setting up platform metoffice
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 129, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/weather/metoffice.py”, line 61, in setup_platform
data.update()
File “/usr/local/lib/python3.6/site-packages/homeassistant/util/init.py”, line 318, in wrapper
result = method(*args, **kwargs)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/metoffice.py”, line 193, in update
self._site.id, ‘3hourly’)
File “/usr/local/lib/python3.6/site-packages/datapoint/Manager.py”, line 217, in get_forecast_for_site
forecast.continent = data[‘SiteRep’][‘DV’][‘Location’][‘continent’]
KeyError: ‘Location’
I am also getting the same issue. Updated Home Assistant this morning from 0.75 to 0.75.1 but still showing the same. I’m running Hassbian.
I tried stripping out all but one sensor and I thought it was sorted but then the fault came back.
It also became more reliable when I turned off emulated_hue:
but that was possibly circumstantial.
Error while setting up platform metoffice
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 129, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
return fut.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/metoffice.py", line 116, in setup_platform
data.update()
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/util/__init__.py", line 325, in wrapper
result = method(*args, **kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/metoffice.py", line 193, in update
self._site.id, '3hourly')
File "/srv/homeassistant/lib/python3.5/site-packages/datapoint/Manager.py", line 217, in get_forecast_for_site
forecast.continent = data['SiteRep']['DV']['Location']['continent']
KeyError: 'Location'
2018-08-05 11:05:03 ERROR (MainThread) [aiohttp.access] Error in logging
Traceback (most recent call last):
File "aiohttp/_helpers.pyx", line 24, in aiohttp._helpers.reify.__get__
KeyError: 'remote'