Spotify Song Notification
Home Assistant

Spotify Song Notification

Show the current artist and song title as a notification, when the song changes
A flow by Zoker

Flow Details

This Home Assistant automation will listen to changes on the spotify integration. As soon as a new song is played, the clock will display the artist and the title (e.g. Bon Jovi - Livin' on a Prayer). The automation uses icon 647 of the lametric icons.

alias: Awtrix Notification Spotify description: "" trigger: - platform: state entity_id: - media_player.spotify attribute: media_title condition: - condition: not conditions: - condition: state entity_id: media_player.spotify state: idle action: - service: mqtt.publish data: topic: AwtrixLight/notify payload: |- {"icon": 647, "repeat": 1, "text": "{{states.media_player.spotify.attributes.media_artist}} - {{states.media_player.spotify.attributes.media_title}}" } mode: single
-- Flow first published on May 31, 2023.