Closed BartoszZabawa closed 1 month ago
@BartoszZabawa
I think I found the problem here - there appears to be a bug in the underlying spotifywebapiPython
code that gathers information for Spotify Connect devices that utilizes Alias definitions.
To confirm, did you recently define / change alias definitions in any of your Spotify Connect devices? This would probably take the form of grouping your devices via a manufacturer's app, or something similar.
UPDATE: never mind on my question. This looks like a bug that I introduced with the v1.0.93 release of the underlying spotifywebapiPython
code. It only manifests itself for Spotify Connect devices that define aliases. I will have it corrected within the hour.
Thank you for bringing this to my attention.
@BartoszZabawa The 1.0.57 release should fix the issue. Please let me know either way. Thanks!
FYI - just released a new version of the SpotifyPlus integration
[ 1.0.57 ] - 2024/09/20
get_audiobook_favorites
to get a list of the audiobooks saved in the current Spotify user's 'Your Library'.get_episode_favorites
to get a list of the episodes saved in the current Spotify user's 'Your Library'.spotifywebapiPython
package requirement to version 1.0.97.This release fixes a bug related to Spotify Connect devices that define aliases (introduced with v1.0.93). This was causing TypeError: unsupported operand type(s) for &: 'str' and 'tuple'
exceptions if a device had aliases defined.
Closing this issue, assuming the issue is fixed. Please re-open if not and we will look into it further. Thanks.
@thlucas1 I just tested it quickly and it works fine. I will run the automation again on Monday and let you know if anything is not working. Thank you for amazingly quick reaction and your work on the integration!
System Health details
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok HACS Data | ok GitHub API Calls Remaining | 5000 Installed Version | 2.0.1 Stage | running Available Repositories | 1412 Downloaded Repositories | 2Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 13.1 -- | -- update_channel | stable supervisor_version | supervisor-2024.09.1 agent_version | 1.6.0 docker_version | 26.1.4 disk_total | 28.0 GB disk_used | 5.7 GB healthy | true supported | true host_connectivity | true supervisor_connectivity | true ntp_synchronized | true virtualization | board | green supervisor_api | ok version_api | ok installed_addons | Matter Server (6.5.1), File editor (5.8.0), Terminal & SSH (9.14.0)Dashboards
dashboards | 2 -- | -- resources | 0 views | 0 mode | storageRecorder
oldest_recorder_run | September 17, 2024 at 05:27 -- | -- current_recorder_run | September 20, 2024 at 08:18 estimated_db_size | 111.93 MiB database_engine | sqlite database_version | 3.45.3Spotify
api_endpoint_reachable | ok -- | --SpotifyPlus
error | failed to load: unknown -- | --Checklist
Describe the issue
Spotify Plus stopped working few days ago. Previously it was working spotless. I didn't make any changes. I can't use spotify plus in the automations and it is not visible on the "Overview" dashboard in HA. "Standard" spotify addIn works fine.
Thanks for help!
Error message:
Reproduction steps
1. 2. 3. ...
Debug logs
Diagnostics dump
No response