- 积分
- 429
- 金钱
- 339
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 429
- 金钱
- 339
- HASS币
- 0
|
发表于 2020-2-5 01:14:47
|
显示全部楼层
遇到错误了
2020-02-05 00:51:52 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform ha_cloud_music
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/homeassistant/helpers/entity_platform.py", line 158, 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 "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/pi/.homeassistant/custom_components/ha_cloud_music/media_player.py", line 143, in setup_platform
}, mp)
File "/home/pi/.homeassistant/custom_components/ha_cloud_music/api_media.py", line 7, in __init__
self.hass = media._hass
AttributeError: 'dict' object has no attribute '_hass' |
|