Hallo,
ich versuche gerade mein Dashboard von collabsible card (danke @MelleD an der stelle schon mal) auf explander card zu ändern.
Ich würde nur gerne im Ausgefahreren Zustand der Karte keine Title card (oder aber eine veränderte Title card) anzeigen lassen:
Ich hab es schonmal hiermit versucht, aber bisher kein glück:
type: custom:expander-card
gap: 0em
padding: 0em
clear: false
clear-children: false
overlay-margin: 0em
child-padding: 0em
button-background: transparent
title: Toilette
title-card-padding: 0em
title-card-button-overlay: true
title-card-clickable: true
card_mod:
style: |
ha-card {
border: none;
title-font-size: 10px !important;
subtitle-font-size: 10px !important;
}
ha-card.open {
background: red !important;
}
ha-card.open .title-card {
display: none !important;
}
ha-card.close {
background: transparent !important;
}
title-card:
type: horizontal-stack
cards:
- type: tile
entity: switch.toilette
tap_action:
action: navigate
navigation_path: toilette
name: Licht
show_entity_picture: true
hide_state: false
vertical: false
icon: mdi:lightbulb
- type: tile
entity: cover.rollo_wc_eg
icon_tap_action:
action: toggle
show_entity_picture: false
- type: tile
entity: binary_sensor.fensterkontakt_toilette_offnet
icon_tap_action:
action: toggle
show_entity_picture: true
name: Fenster
state_content: last-changed
title: Toilette
entities:
- entity: switch.toilette
name: Licht
tap_action:
action: none
- entity: cover.rollo_wc_eg
name: Rollo
tap_action:
action: none
- entity: binary_sensor.fensterkontakt_toilette_offnet
name: Fenster
tap_action:
action: none
cards:
- type: horizontal-stack
cards:
- type: tile
entity: switch.toilette
tap_action:
action: navigate
navigation_path: toilette
name: Licht
show_entity_picture: true
hide_state: false
vertical: false
icon: mdi:lightbulb
- type: horizontal-stack
cards:
- type: tile
entity: cover.rollo_wc_eg
icon_tap_action:
action: toggle
show_entity_picture: false
- type: tile
entity: binary_sensor.fensterkontakt_toilette_offnet
icon_tap_action:
action: toggle
show_entity_picture: true
name: Fenster
state_content: last-changed
Jede Hilfe ist sehr willkommen.
Danke schonmal