lukx / home-assistant-jukebox

Home-Assistant Radio Station and Stream Selector Card
65 stars 33 forks source link

Power Off button? #23

Open thehijacker opened 3 years ago

thehijacker commented 3 years ago

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 commented 3 years ago

Implemented it myself.

image

Changed JS can be found here:

jukebox-card_v2021_05_01_v4.zip

Andrej

ghost commented 2 years ago

@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 commented 2 years ago

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

thehijacker commented 2 years ago

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: