mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 02:37:08 +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 = None
|
||||||
media_position_updated_at = None
|
media_position_updated_at = None
|
||||||
|
source_name = None
|
||||||
|
|
||||||
is_radio_stream = \
|
is_radio_stream = \
|
||||||
current_media_uri.startswith('x-sonosapi-stream:') or \
|
current_media_uri.startswith('x-sonosapi-stream:') or \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user