mirror of
https://github.com/home-assistant/core.git
synced 2025-07-07 13:27:09 +00:00
allow songcast source to be stopped and played (#109180)
This commit is contained in:
parent
961a1c4d00
commit
4c6ac74313
@ -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…
x
Reference in New Issue
Block a user