- 积分
- 199
- 金钱
- 172
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
注册会员
- 积分
- 199
- 金钱
- 172
- HASS币
- 0
|
发表于 2022-3-22 23:07:27
|
显示全部楼层
启动报错。。。。。
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/weather/__init__.py", line 223, in state_attributes
if self.forecast is not None:
File "/home/homeassistant/.homeassistant/custom_components/weathernmc/weather.py", line 125, in forecast
ATTR_FORECAST_CONDITION: CONDITION_MAP[self._forecast_data['data']['predict']['detail'][i]['day']['weather']['info']],
KeyError: '大到暴雨'
2022-03-22 22:56:21 ERROR (MainThread) [homeassistant.components.weather] Error while setting up weathernmc platform for weather |
|