allow songcast source to be stopped and played (#109180)

This commit is contained in:
Barry Williams 2024-01-31 04:41:20 +00:00 committed by GitHub
parent 961a1c4d00
commit 4c6ac74313
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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