mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
allow songcast source to be stopped and played (#109180)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user