Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 186, in _async_setup_platform

await asyncio.gather(*pending)


 "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 295, in async_add_entities

await asyncio.gather(*tasks)


 "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 344, in _async_add_entity

device_info = entity.device_info


 "/usr/src/homeassistant/homeassistant/components/atag/__init__.py", line 204, in device_info

version = self.coordinator.atag.apiversion


 "/usr/local/lib/python3.7/site-packages/pyatag/gateway.py", line 59, in apiversion

return self.sensordata.get("download_url").get("state").split("/")[-1]
AttributeError: 'NoneType' object has no attribute 'get

Traceback (most recent call last):

...


 ".../venv/lib/python3.5/site-packages/sqlalchemy/sql/schema.py", line 755, in bind

return self.metadata and self.metadata.bind or None
AttributeError: 'Table' object has no attribute 'metadata'
