- 积分
- 603
- 金钱
- 509
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 603
- 金钱
- 509
- HASS币
- 0
|
发表于 2019-11-22 10:31:48
|
显示全部楼层
Error while setting up platform hf_weather
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/home/homeassistant/.homeassistant/custom_components/hf_weather/weather.py", line 86, in async_setup_platform
yield from data.async_update(dt_util.now())
File "/home/homeassistant/.homeassistant/custom_components/hf_weather/weather.py", line 383, in async_update
self._temperature = float(all_result["now"]["tmp"])
KeyError: 'now' |
|