Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Media card doesn't use the 'source' attribute for it's media info #758

Open
JeffersonBledsoe opened this issue Oct 3, 2022 · 0 comments · May be fixed by #759
Open

[Bug]: Media card doesn't use the 'source' attribute for it's media info #758

JeffersonBledsoe opened this issue Oct 3, 2022 · 0 comments · May be fixed by #759
Labels
bug Something isn't working

Comments

@JeffersonBledsoe
Copy link

Current Behavior

When settings a media card to read from a TV entity and the 'Use media info' option is set to on, only the default TV icon will show if the integration uses a 'source' attribute to inform Home Assistant what is being played on the device.

Expected Behavior

When settings a media card to read from a TV entity and the 'Use media info' option is set to on, the icon for the relevant app will be displayed

Steps To Reproduce

  1. Have an entity which uses 'Source' to show what is set on the TV (such as from the webOS integration)
  2. Create a 'media' card and enable 'Use media info'

Environment

- OS: HASS OS
- Browser: Chrome/ Safari/ Firefox
- Version: 2.1.3
- Hassio: 2022.9.7

Anything else?

Here's an example of the state from my TV from the webOS (LG) integration:

source_list:
  - Apple TV
  - Disney+
  - ITV Hub
  - My5
  - NOW
  - Netflix
  - PS5
  - Plex
  - Spotify - Music and Podcasts
  - Twitch
  - UKTV Play
  - YouTube
volume_level: 0.12
is_volume_muted: false
source: PS5
sound_output: tv_speaker
assumed_state: true
device_class: tv
friendly_name: Living Room TV
supported_features: 24509
@JeffersonBledsoe JeffersonBledsoe added the bug Something isn't working label Oct 3, 2022
@JeffersonBledsoe JeffersonBledsoe linked a pull request Oct 3, 2022 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant