Invalid config for [sensor.heweather]: required key not provided @ data['d66aaf810a7519cbb8a74286a3625478']. Got None
required key not provided @ data['余姚']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/sensor.heweather/
Invalid config for [sensor.heweather_hourlyforecast]: required key not provided @ data['d66aaf810a7519cbb8a74286a3625478']. Got None
required key not provided @ data['余姚']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/compon ... her_hourlyforecast/
Invalid config for [sensor.lifesuggestion]: required key not provided @ data['d66aaf810a7519cbb8a74286a3625478']. Got None
required key not provided @ data['余姚']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/sensor.lifesuggestion/
2018-10-09 00:07:42 ERROR (MainThread) [custom_components.sensor.heweather_hourlyforecast] Error while accessing: [url]https://way.jd.com/he/freeweather[/url]
2018-10-09 00:07:42 ERROR (MainThread) [homeassistant.components.sensor] heweather_hourlyforecast: Error on device update!
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 350, in async_device_update
yield from self.async_update()
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 212, in coro
res = func(*args, **kw)
File "/config/custom_components/sensor/heweather_hourlyforecast.py", line 198, in async_update
if self._data.hour_3[1] in j:
TypeError: 'NoneType' object is not subscriptable
2018-10-09 00:07:42 ERROR (MainThread) [homeassistant.components.sensor] heweather_hourlyforecast: Error on device update!
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 350, in async_device_update
yield from self.async_update()
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 212, in coro
res = func(*args, **kw)
File "/config/custom_components/sensor/heweather_hourlyforecast.py", line 141, in async_update
self._state = self._data.hour_3[0]+' '+self._data.hour_3[1]+' '+self._data.hour_3[2]+'℃'
TypeError: 'NoneType' object is not subscriptable
2018-10-09 00:07:43 ERROR (MainThread) [homeassistant.components.sensor] heweather_hourlyforecast: Error on device update!
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 350, in async_device_update
yield from self.async_update()
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 212, in coro
res = func(*args, **kw)
File "/config/custom_components/sensor/heweather_hourlyforecast.py", line 148, in async_update
self._state = self._data.hour_6[0]+' '+self._data.hour_6[1]+' '+self._data.hour_6[2]+'℃'
TypeError: 'NoneType' object is not subscriptable
2018-10-09 00:07:43 ERROR (MainThread) [homeassistant.components.sensor] heweather_hourlyforecast: Error on device update!
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 350, in async_device_update
yield from self.async_update()
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 212, in coro
res = func(*args, **kw)
File "/config/custom_components/sensor/heweather_hourlyforecast.py", line 155, in async_update
self._state = self._data.hour_9[0]+' '+self._data.hour_9[1]+' '+self._data.hour_9[2]+'℃'
TypeError: 'NoneType' object is not subscriptable
2018-10-09 00:07:43 ERROR (MainThread) [custom_components.sensor.heweather] Error while accessing: [url]https://way.jd.com/he/freeweather[/url]