allow songcast source to be stopped and played (#109180)
This commit is contained in:
parent
961a1c4d00
commit
4c6ac74313
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ class OpenhomeDevice(MediaPlayerEntity):
|
|||
self._source_index = source_index
|
||||
self._attr_source_list = source_names
|
||||
|
||||
if source["type"] == "Radio":
|
||||
if source["type"] in ("Radio", "Receiver"):
|
||||
self._attr_supported_features |= (
|
||||
MediaPlayerEntityFeature.STOP
|
||||
| MediaPlayerEntityFeature.PLAY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue