It seems to simply be impossible. I tried every approach, last two promising were
type: custom:mod-card
card:
type: grid
columns: 1
square: false
title: Welcome Home
cards:
- type: vertical-stack
cards:
- type: button
tap_action:
action: navigate
navigation_path: home
name: Home
icon: mdi:home-circle
hold_action:
action: none
icon_height: 100px
show_state: false
- type: custom:simple-clock-card
use_military: true
hide_seconds: false
font_size: 2rem
padding_size: 10px
card_mod:
style: |
ha-card {
letter-spacing: 3px;
border: 0px;
padding: 3px;
background: default;
}
card_mod:
style: |
ha-card .card-header {
margin-left: auto;
color: red;
margin-right: auto;
}
and
type: custom:mod-card
card:
type: grid
columns: 1
square: false
title: Welcome Home
cards:
- type: vertical-stack
cards:
- type: button
tap_action:
action: navigate
navigation_path: home
name: Home
icon: mdi:home-circle
hold_action:
action: none
icon_height: 100px
show_state: false
- type: custom:simple-clock-card
use_military: true
hide_seconds: false
font_size: 2rem
padding_size: 10px
card_mod:
style: |
ha-card {
letter-spacing: 3px;
border: 0px;
padding: 3px;
background: default;
}
card_mod:
style: |
.name {
margin-left: auto;
color: red;
margin-right: auto;
}
Changed exactly nothing. Summary: changing card titles is impossible. Everyone trying to do this on a per card basis: donĀ“t waste your time (like I did).