2019-03-22 18:31:45 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state
self._async_write_ha_state()
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 255, in _async_write_ha_state
attr = self.state_attributes or {}
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/weather/init.py", line 121, in state_attributes
self.hass, self.temperature, self.temperature_unit,
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/weather/darksky.py", line 108, in temperature_unit
return TEMP_FAHRENHEIT if 'us' in self._dark_sky.units \
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/weather/darksky.py", line 235, in units
return self.data.json.get('flags').get('units')
AttributeError: 'NoneType' object has no attribute 'json'
i get this error :( do you know why?
2019-03-22 18:31:45 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state self._async_write_ha_state() File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 255, in _async_write_ha_state attr = self.state_attributes or {} File "/usr/local/lib/python3.7/site-packages/homeassistant/components/weather/init.py", line 121, in state_attributes self.hass, self.temperature, self.temperature_unit, File "/usr/local/lib/python3.7/site-packages/homeassistant/components/weather/darksky.py", line 108, in temperature_unit return TEMP_FAHRENHEIT if 'us' in self._dark_sky.units \ File "/usr/local/lib/python3.7/site-packages/homeassistant/components/weather/darksky.py", line 235, in units return self.data.json.get('flags').get('units') AttributeError: 'NoneType' object has no attribute 'json'