Traceback (most recent call last):


 "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run

self._context.run(self._callback, *self._args)


 "/usr/local/lib/python3.7/site-packages/aiohttp/web_ws.py", line 102, in _send_heartbeat

self._loop.create_task(self._writer.ping())
# type: ignore
AttributeError: 'NoneType' object has no attribute 'ping'

Traceback (most recent call last):


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

await entity.async_device_update(warning=False)


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 456, in async_device_update

await self.hass.async_add_executor_job(


 "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/src/homeassistant/homeassistant/components/coinmarketcap/sensor.py", line 149, in update

self._ticker = self.data.ticker.get("data")
AttributeError: 'JSONDecodeError' object has no attribute 'get'
