Further to my last missive, I have seen errors in the HomeAssistant log daily at about 01:23BST for a few minutes. It seems that Met Office goes offline for a while (presumably for their updates) and is not a specific fault, so far as I can tell, with the HomeAssistant metoffice component. I have posted this mornings log for this error for reference below.
If updates are 3hourly then Iām probably just unlucky that the MO updates are unavailable. I donāt think that Iām running into an update limit as has happened with the Wunderground component.
Is there a way to stop these error reports? For example by stopping HA/MO online updates for a period?
2017-06-13 01:23:36 ERROR (MainThread) [homeassistant.components.sensor] Error while update entity from metoffice in sensor Traceback (most recent call last): File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 437, in _update_entity_states yield from update_coro File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 238, in async_update_ha_state state = self.state File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/sensor/metoffice.py", line 122, in state if self._condition in self.data.data.__dict__.keys(): AttributeError: 'bool' object has no attribute '__dict__' 2017-06-13 01:23:36 ERROR (MainThread) [homeassistant.components.sensor] Error while update entity from metoffice in sensor Traceback (most recent call last): File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 437, in _update_entity_states yield from update_coro File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 238, in async_update_ha_state state = self.state File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/sensor/metoffice.py", line 122, in state if self._condition in self.data.data.__dict__.keys(): AttributeError: 'bool' object has no attribute '__dict__' 2017-06-13 01:23:36 ERROR (MainThread) [homeassistant.components.sensor] Error while update entity from metoffice in sensor Traceback (most recent call last): File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 437, in _update_entity_states yield from update_coro File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 238, in async_update_ha_state state = self.state File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/sensor/metoffice.py", line 122, in state if self._condition in self.data.data.__dict__.keys(): AttributeError: 'bool' object has no attribute '__dict__' 2017-06-13 01:23:36 ERROR (MainThread) [homeassistant.components.sensor] Error while update entity from metoffice in sensor Traceback (most recent call last): File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 437, in _update_entity_states yield from update_coro File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 238, in async_update_ha_state state = self.state File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/sensor/metoffice.py", line 122, in state if self._condition in self.data.data.__dict__.keys(): AttributeError: 'bool' object has no attribute '__dict__' 2017-06-13 01:23:36 ERROR (MainThread) [homeassistant.components.sensor] Error while update entity from metoffice in sensor Traceback (most recent call last): File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 437, in _update_entity_states yield from update_coro File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 238, in async_update_ha_state state = self.state File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/sensor/metoffice.py", line 122, in state if self._condition in self.data.data.__dict__.keys(): AttributeError: 'bool' object has no attribute '__dict__'