Home Assistant Spotify Button - berkansezer77/home-assistant GitHub Wiki
If you like you can support my work.
Spotify Button
Page Properties:
- Start Spotify song on your media player. Designed for Amazon Alexa but you can change it from (tap_action:) part.
- Displays spotify artwork when music is being played.
- Spotify logo disappears while music is being played.
- Stop spotify music with double tap
Before we start, we need some third party tools from Hacs:
Mushroom cards: https://github.com/piitaya/lovelace-mushroom Spotcast: https://github.com/fondberg/spotcast Card Mod: https://github.com/thomasloven/lovelace-card-mod
Ofcourse you also need Spotify integration to be installed on Home Assistant
Code:
https://github.com/berkansezer77/home-assistant/blob/main/pages/spotify-button/button-code
Note: transparent dot on line 22 can be downloaded from :
https://github.com/berkansezer77/home-assistant/blob/main/pages/spotify-button/dot.png