Skip to content
This repository has been archived by the owner on Aug 26, 2023. It is now read-only.

JSON Decode Error #55

Open
sephrioth opened this issue Sep 4, 2019 · 0 comments
Open

JSON Decode Error #55

sephrioth opened this issue Sep 4, 2019 · 0 comments

Comments

@sephrioth
Copy link

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'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant