Hi all,
Can I ask if someone know how to extract the url of a Spotify cover art for send it through mqtt every time that the song change?
I’ve tried this but doesn’t works.
alias: test cover
description: teest send url cover per eink
trigger:
- platform: device
type: changed_states
device_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
entity_id: media_player.spotify_xxxxxxxx
domain: media_player
condition: []
action:
- service: mqtt.publish
data:
qos: "0"
retain: false
topic: display/audio
payload_template: "{{ status.media_player.spotify_xxxxxxxx.entity_image | string }} "
mode: single
Thanks in advance!