- 积分
- 793
- 金钱
- 667
- 威望
- 0
- 贡献
- 0
- HASS币
- 20
高级会员
- 积分
- 793
- 金钱
- 667
- HASS币
- 20
|
发表于 2021-4-21 18:35:59
|
显示全部楼层
Logger: homeassistant.components.weather
Source: custom_components/hf_weather/weather.py:384
Integration: Weather (documentation, issues)
First occurred: 下午6:04:29 (1 occurrences)
Last logged: 下午6:04:29
Error while setting up hf_weather platform for weather
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 205, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/hf_weather/weather.py", line 86, in async_setup_platform
yield from data.async_update(dt_util.now())
File "/config/custom_components/hf_weather/weather.py", line 384, in async_update
self._temperature = float(all_result["now"]["tmp"])
KeyError: 'now'
报错怎么解???? |
|