shaonianzhentan / ha_cloud_music

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

ha更新2024.1后云音乐无法使用 #44

Closed Gzzloveyyt closed 8 months ago

Gzzloveyyt commented 8 months ago

ha更新2024.1后云音乐无法使用,望修复!

xyzhangxin commented 8 months ago

+1,感谢大佬

SmileIOT commented 8 months ago

+1

dxh000130 commented 8 months ago

+1

sloganlau commented 8 months ago

报错信息如下: 2024-01-16 09:06:28.801 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140398645351872] Error handling message: Unknown error (unknown_error) Simon from 172.17.0.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 1298, in websocket_browse_media if MediaPlayerEntityFeature.BROWSE_MEDIA not in player.supported_features: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'int' is not iterable

sloganlau commented 8 months ago

HA回退到2023.8.4版本,不报错,工作正常

JTRoger commented 8 months ago

应该是新版core有些字段对象改了

shaonianzhentan commented 8 months ago

已修复