Just tried setting up the new MetOffice integration…
Getting an error:
17-04-13 18:57:25 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "uvloop/future.pyx", line 372, in uvloop.loop.BaseTask._fast_step (uvloop/loop.c:112669)
File "/usr/src/app/homeassistant/helpers/entity_component.py", line 359, in async_process_entity
new_entity, self, update_before_add=update_before_add
File "/usr/src/app/homeassistant/helpers/entity_component.py", line 215, in async_add_entity
yield from entity.async_update_ha_state()
File "/usr/src/app/homeassistant/helpers/entity.py", line 247, in async_update_ha_state
device_attr = self.device_state_attributes
File "/usr/src/app/homeassistant/components/sensor/metoffice.py", line 145, in device_state_attributes
attr['Last Update'] = self.data.lastupdate
AttributeError: 'MetOfficeCurrentData' object has no attribute 'lastupdate'
Sensor include file:
platform: metoffice
api_key: !secret metoffice_api
monitored_conditions:
- weather
- temperature
- feels_like_temperature
- wind_speed
- wind_direction
- wind_gust
- visibility
- uv
- precipitation
- humidity
Suggestions pls