Fix roku select source with app ids (#36191)
This commit is contained in:
parent
6f4829c390
commit
6fbc3b54bd
2 changed files with 18 additions and 3 deletions
|
@ -222,7 +222,12 @@ class RokuMediaPlayer(RokuEntity, MediaPlayerEntity):
|
|||
await self.coordinator.roku.remote("home")
|
||||
|
||||
appl = next(
|
||||
(app for app in self.coordinator.data.apps if app.name == source), None
|
||||
(
|
||||
app
|
||||
for app in self.coordinator.data.apps
|
||||
if source in (app.name, app.app_id)
|
||||
),
|
||||
None,
|
||||
)
|
||||
|
||||
if appl is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue