Hi all
I’m using custom button-card and I want to set the name to a variable value:
Literal sting + value of sens0r. in Joinja, it would be
Starlink ({{states(‘sensor.max_br2_xxxx_wan2_download’) }} Mbps)
type: custom:button-card
show_name: true
show_icon: true
state:
- value: Connected
icon: mdi:satellite-uplink
color: green
- value: Disconnected
icon: mdi:satellite-uplink
color: red
entity: sensor.wan_2_connection_status
show_state: true
theme: Mushroom
*****name: Starlink*****
grid_options:
columns: 9
rows: 3
I can’t figure out the correct syntax. Anyone got any pointers?
thanks
Mark