So I cannot go back and edit the two variables on the top anymore if I hit “edit card” again in the future.
That defeats my purpose.
That would be a solution if I manage and edit my code not in the UI itself but offline (in VSCode or so). But that makes things much more complicated to manage in general for me …
Yaml-anchors are mainly to re-use a code: define in 1 place, use in many places - and edit in 1 place and see other places affected.
Most of code re-use features are only available in yaml dashboards.
Now when I edit a tile (in the GUI!) I would like to have two variables at the very top of that code. The entity (for example: switch.docker_portainer) and the URL (for example: https://portainer.***.duckdns.org).
Google about a custom decluttering-card - it allows you to create a template for similar cards. But I have no idea about a possibility to use custom cards in a section view.
Hi!! I’m facing a similar problem but I don’t understand your solution (I’m a newbie).
I’m using a picture-elements and I want to use some variables, but how I have to write it?
This is the code: