home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4.05k stars 2.77k forks source link

Sonos Card with Spotify does not update after OSX comes out of sleep #21068

Closed michaelkahn closed 1 month ago

michaelkahn commented 4 months ago

Checklist

Describe the issue you are experiencing

If I have paused Spotify, Macbook Pro (Sonoma 14.5 (23F79)) goes to sleep, when I wake it, resume, the song last played before sleep stays visible on the home screen card and doesn't change with new songs. The only way it will change is if I the 3 dots on the card. No edits/changes need to be made, just clicking the 3 dots then clicking away/closing. As soon as the settings screen opens, only then does the song update along with cover art. I've been able to reproduce this multiple times now. This is with the Default Overview, no customizations.

Using both AirSonos 4.2.1 add-on and Sonos Integration, no Spotify integration installed or enabled.

Describe the behavior you expected

Card should show current song and cover art playing.

Steps to reproduce the issue

  1. Pause Spotify with HA 2024.5.1 (2024.688) app open.
  2. Let Mac go to sleep.
  3. Wake up Mac and resume Spotify. Wait for it to play a few songs.
  4. Click card to get it to show latest song ...

What version of Home Assistant Core has the issue?

2024.6.2

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

HA Frontend 20240610.0

Which operating system are you using to run this browser?

macOS Sonoma 14.5

State of relevant entities

media_player.office

playing

device_class: speaker
supported_features: 4127295
group_members: media_player.office
volume_level: 0.04
is_volume_muted: false
media_content_id: x-sonos-vli:RINCON_F0F6C1C825E401400:2,spotify:069f852cc9000f9f74a27c85f347043d
media_content_type: music
media_duration: 228
media_position: 0
media_position_updated_at: 2024-06-11T18:27:24.084400+00:00
media_title: Fortnight (feat. Post Malone)
media_artist: Taylor Swift
media_album_name: THE TORTURED POETS DEPARTMENT
source: Spotify Connect
shuffle: true
repeat: off
entity_picture: /api/media_player_proxy/media_player.office?token=43498629f83e80c34e3630a225a50b1a46bd2725c42b47daeb1d8b1f074bc012&cache=fa31048a69d1f10d
friendly_name: Office
media_playlist: Today’s Top Hits
queue_size: 1

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

github-actions[bot] commented 1 month ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.