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

Power Off button? #23

Open
thehijacker opened this issue Apr 29, 2021 · 4 comments
Open

Power Off button? #23

thehijacker opened this issue Apr 29, 2021 · 4 comments

Comments

@thehijacker
Copy link

Hello,

I can stop playback when playing with Stop button. But this does not "power off" Google device. It just goes into "Idle" state. After a while it powers off. When opening media player card, I have "Power Off" button there that will switch it off right away.

image

Can you add this Power button next to the Stop button?

Thank you.

@thehijacker
Copy link
Author

Implemented it myself.

image

Changed JS can be found here:

jukebox-card_v2021_05_01_v4.zip

Andrej

@ghost
Copy link

ghost commented Oct 22, 2021

@thehijacker could you assist me with this? I adapted the card code to have both the stopbutton and logo functionality but none are comming up.

@thehijacker
Copy link
Author

With latest HA update, icons are not showing. Need to figure out what changed.

@thehijacker
Copy link
Author

Made so many changes to the source code that I made a fork and published it here:

https://github.com/thehijacker/home-assistant-jukebox

Feel free to use it. What is new/added/fixed:

  • Displaying station logo image
  • Adding option to display custom sensor text (song author and title)
  • Fix (workaround) for long playback start for specific radio stations
  • Fix for icons not showing up after HA update to version 2021.11.X

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