shaonianzhentan / ha_cloud_music

新版云音乐
MIT License
105 stars 96 forks source link

新版报错 #29

Closed Seifon closed 8 months ago

Seifon commented 1 year ago

此错误来自自定义集成。

Logger: homeassistant.config_entries Source: custom_components/ha_cloud_music/cloud_music.py:27 Integration: 云音乐 (documentation) First occurred: 23:35:33 (1 occurrences) Last logged: 23:35:33

Error setting up entry ha_cloud_music for ha_cloud_music Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/ha_cloud_music/init.py", line 19, in async_setup_entry hass.data['cloud_music'] = CloudMusic(hass, api_url) File "/config/custom_components/ha_cloud_music/cloud_music.py", line 27, in init self.api_url = url.strip('/') AttributeError: 'NoneType' object has no attribute 'strip'

shaonianzhentan commented 8 months ago

删除重新配置一下