So I would like to have the output of this template to show as the title/name of a picture-entity card. {{ states("sensor.discogs_random_record") }} / {{ state_attr("sensor.discogs_random_record","label") }} ({{ state_attr("sensor.discogs_random_record","cat_no") }}), {{ state_attr("sensor.discogs_random_record","released") }}
Output:
Elkie Brooks - The Rising Cost Of Love / Elk Edits (EBXDJ001), 2018
I tried to place the template in configuration.yaml as the name of a generic camera (which I use in a picture-entity card to show a random image of a record from the Discogs sensor), and also tried to change the name of the card in `ui-lovelace.yaml’.
Can you explain to me where you put the code for the sensor ? is it in configuration.yaml ?
, and I see the code below for ui-lovelace.yaml … where is that file located ? (cant find it)
Also, how do you call it on a card ? what card type to show the image ?