mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 13:57:10 +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._source_index = source_index
|
||||||
self._attr_source_list = source_names
|
self._attr_source_list = source_names
|
||||||
|
|
||||||
if source["type"] == "Radio":
|
if source["type"] in ("Radio", "Receiver"):
|
||||||
self._attr_supported_features |= (
|
self._attr_supported_features |= (
|
||||||
MediaPlayerEntityFeature.STOP
|
MediaPlayerEntityFeature.STOP
|
||||||
| MediaPlayerEntityFeature.PLAY
|
| MediaPlayerEntityFeature.PLAY
|
||||||
|
Loading…
x
Reference in New Issue
Block a user