coinmarketcap
coinmarketcap copied to clipboard
JSON Decode Error
Home Assistant release with the issue:
v98.2
Operating environment (Hass.io/Docker/Windows/etc.):
Docker
Description of problem: Can't update / setup coinmarketcap sensors
Additional information:
Update for sensor.ethereum fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 261, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 441, in async_device_update await self.hass.async_add_executor_job(self.update) File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/usr/src/homeassistant/homeassistant/components/coinmarketcap/sensor.py", line 148, in update self._ticker = self.data.ticker.get("data") AttributeError: 'JSONDecodeError' object has no attribute 'get'