Fix songpal on devices where source!=uri (#34699)
This commit is contained in:
1 parent
a65e656c03
commit
9436645648
1 file changed
+1
-1
@@ -164,7 +164,7 @@ class SongpalDevice(MediaPlayerEntity):
|
||||
async def _source_changed(content: ContentChange):
|
||||
_LOGGER.debug("Source changed: %s", content)
|
||||
if content.is_input:
|
||||
self._active_source = self._sources[content.source]
|
||||
self._active_source = self._sources[content.uri]
|
||||
_LOGGER.debug("New active source: %s", self._active_source)
|
||||
self.async_write_ha_state()
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user