ajoute ce code, change le 40px par ce qui te va:
style: |
.date {
margin-bottom: 40px !important;
}
exemple:
sidebar:
digitalClock: true
digitalClockWithSeconds: true
date: true
dateFormat: dddd DD MMMM YYYY
style: |
.date {
margin-bottom: 40px !important;
}
si tu utilise picture-element en carte, regarde le post [Dashboard Audio/video Surround] - Denon / Marantz - #10 par FillR2
Pour les effets, c’est du CSS.
- type: image
entity: input_boolean.hp_denon_on_off
tape_action: more-info
state_image:
'on': local/images/On 02.png
'off': local/images/Off 02.png
unavailable: local/images/null.png
state_filter:
'on': brightness(100%) saturate(1)
'off': brightness(100%) saturate(1)
style:
top: 10%
left: 37.5%
width: 46%
transform: translate(-50%, -50%) scale(0.12,0.12)
border: 0px solid white
border-radius: 20%