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

Can the source channel icons on the remote be conditional #150

Open
lou-cucci opened this issue May 27, 2024 · 0 comments
Open

Can the source channel icons on the remote be conditional #150

lou-cucci opened this issue May 27, 2024 · 0 comments

Comments

@lou-cucci
Copy link

Ciao!

Love your work..

Does the functionality exist for me to do this?

If {{ state_attr('media_player.lg_webos_tv_oled55g36la', 'source') == 'Live TV' }} I would live the TV Guide source button to be displayed.

Else

display null

sources:

  • icon: mdi:netflix
    name: netflix
  • icon: si:amazon
    name: Prime
  • icon: mdi:hulu
    name: Hulu
  • icon: si:hbo
    name: max
  • icon: si:showtime
    name: showtime
  • icon: phu:disney-plus
    name: disney
  • icon: si:emby
    name: emby
  • icon: phu:peacock
    name: peacock
  • icon: null
    name: null
  • icon: mdi:television-classic
    name: Watch Live TV
  • icon: mdi:television-guide
    name: TV Guide
  • icon: null
    name: null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant