mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
[media_player.sonos] Bugfix, initalise source_name. (#4911)
This commit is contained in:
parent
c2f31bbb38
commit
1a7895b1d8
@ -427,6 +427,7 @@ class SonosDevice(MediaPlayerDevice):
|
||||
|
||||
media_position = None
|
||||
media_position_updated_at = None
|
||||
source_name = None
|
||||
|
||||
is_radio_stream = \
|
||||
current_media_uri.startswith('x-sonosapi-stream:') or \
|
||||
|
Loading…
x
Reference in New Issue
Block a user