Fix source_change not triggering an update (#118312)

This commit is contained in:
Markus Jacobsen 2024-05-29 03:19:10 +02:00 committed by GitHub
parent 5f5288d8b9
commit 8d7dff0228
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -341,6 +341,8 @@ class BangOlufsenMediaPlayer(BangOlufsenEntity, MediaPlayerEntity):
):
self._playback_progress = PlaybackProgress(progress=0)
self.async_write_ha_state()
async def _update_volume(self, data: VolumeState) -> None:
"""Update _volume."""
self._volume = data