Hallo,
ist es irgendwie möglich, eine Überschrift einzufügen? Ich würde gerne anfangen oben mit “Türen”, dann weiter unten mit “Fenster” und unten mit “Dachfenster”. Darunter dann jeweils die buttons.
Meine bisherige config sieht so aus:
type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: custom:button-card
color_type: icon
entity: binary_sensor.haustur
name: Haustür
styles:
card:
- height: 80px
state:
- value: 'on'
color: red
icon: phu:panel-door-open
styles:
card:
- animation: blink 2s ease infinite
- operator: default
icon: phu:panel-door-close
- type: custom:button-card
color_type: icon
entity: binary_sensor.terrassentur
name: Terrassentür
styles:
card:
- height: 80px
state:
- value: 'on'
color: red
icon: phu:panel-door-open
styles:
card:
- animation: blink 2s ease infinite
- operator: default
icon: phu:panel-door-close
- type: horizontal-stack
cards:
- type: custom:button-card
color_type: icon
entity: binary_sensor.fenster_schlafzimmer_unten_contact
name: Schlafzimmer unten
styles:
card:
- font-size: 13px
- height: 80px
state:
- value: 'on'
color: red
icon: phu:lift-in-window-open2
styles:
card:
- animation: blink 2s ease infinite
- operator: default
icon: phu:lift-out-window-close
- type: custom:button-card
color_type: icon
entity: binary_sensor.fenster_wohnzimmer_unten_rechts_teilstuck_links_contact
name: Wohnzimmer unten rechts
styles:
card:
- font-size: 12px
- height: 80px
state:
- value: 'on'
color: red
icon: phu:lift-in-window-open2
styles:
card:
- animation: blink 2s ease infinite
- operator: default
icon: phu:lift-out-window-close
- type: custom:button-card
color_type: icon
entity: binary_sensor.fenster_wohnzimmer_unten_rechts_teilstuck_rechts_contact
name: Schlafzimmer unten rechts
styles:
card:
- font-size: 12px
- height: 80px
state:
- value: 'on'
color: red
icon: phu:lift-in-window-open2
styles:
card:
- animation: blink 2s ease infinite
- operator: default
icon: phu:lift-out-window-close
- type: horizontal-stack
cards:
- type: custom:button-card
color_type: icon
entity: binary_sensor.fenster_erker_gastezimmer_links_contact
name: Gästezimmer links
styles:
card:
- font-size: 13px
- height: 80px
state:
- value: 'on'
color: red
icon: phu:lift-in-window-open2
styles:
card:
- animation: blink 2s ease infinite
- operator: default
icon: phu:lift-out-window-close
- type: custom:button-card
color_type: icon
entity: binary_sensor.fenster_erker_gastezimmer_mitte_contact
name: Gästezimmer mitte
styles:
card:
- font-size: 13px
- height: 80px
state:
- value: 'on'
color: red
icon: phu:lift-in-window-open2
styles:
card:
- animation: blink 2s ease infinite
- operator: default
icon: phu:lift-out-window-close
- type: custom:button-card
color_type: icon
entity: binary_sensor.fenster_erker_gastezimmer_rechts_contact
name: Gästezimmer rechts
styles:
card:
- font-size: 13px
- height: 80px
state:
- value: 'on'
color: red
icon: phu:lift-in-window-open2
styles:
card:
- animation: blink 2s ease infinite
- operator: default
icon: phu:lift-out-window-close
- type: horizontal-stack
cards:
- type: custom:button-card
color_type: icon
entity: binary_sensor.fenster_erker_unten_flur_links_contact
name: Flur links
styles:
card:
- font-size: 13px
- height: 80px
state:
- value: 'on'
color: red
icon: phu:lift-in-window-open2
styles:
card:
- animation: blink 2s ease infinite
- operator: default
icon: phu:lift-out-window-close
- type: custom:button-card
color_type: icon
entity: binary_sensor.fenster_erker_unten_flur_mitte_contact
name: Flur mitte
styles:
card:
- font-size: 13px
- height: 80px
state:
- value: 'on'
color: red
icon: phu:lift-in-window-open2
styles:
card:
- animation: blink 2s ease infinite
- operator: default
icon: phu:lift-out-window-close
- type: custom:button-card
color_type: icon
entity: binary_sensor.fenster_erker_unten_flur_rechts_contact
name: Flur rechts
styles:
card:
- font-size: 13px
- height: 80px
state:
- value: 'on'
color: red
icon: phu:lift-in-window-open2
styles:
card:
- animation: blink 2s ease infinite
- operator: default
icon: phu:lift-out-window-close
- type: horizontal-stack
cards:
- type: custom:button-card
color_type: icon
entity: binary_sensor.dachfenster_dach
name: Dachboden
styles:
card:
- font-size: 11px
- height: 80px
state:
- value: 'on'
color: red
icon: phu:tilt-window-opened
styles:
card:
- animation: blink 2s ease infinite
- operator: default
icon: phu:tilt-window-closed
- type: custom:button-card
color_type: icon
entity: binary_sensor.dachfenster_timo
name: Timo
styles:
card:
- font-size: 11px
- height: 80px
state:
- value: 'on'
color: red
icon: phu:tilt-window-opened
styles:
card:
- animation: blink 2s ease infinite
- operator: default
icon: phu:tilt-window-closed
- type: custom:button-card
color_type: icon
entity: binary_sensor.dachfenster_wohnzimmer_links
name: Wohnzimmer links
styles:
card:
- font-size: 10px
- height: 80px
state:
- value: 'on'
color: red
icon: phu:tilt-window-opened
styles:
card:
- animation: blink 2s ease infinite
- operator: default
icon: phu:tilt-window-closed
- type: custom:button-card
color_type: icon
entity: binary_sensor.dachfenster_wohnzimmer_rechts
name: Wohnzimmer rechts
styles:
card:
- font-size: 9px
- height: 80px
state:
- value: 'on'
color: red
icon: phu:tilt-window-opened
styles:
card:
- animation: blink 2s ease infinite
- operator: default
icon: phu:tilt-window-closed
- type: custom:button-card
color_type: icon
entity: binary_sensor.dachfenster_schlafzimmer
name: Schlafzimmer
styles:
card:
- font-size: 11px
- height: 80px
state:
- value: 'on'
color: red
icon: phu:tilt-window-opened
styles:
card:
- animation: blink 2s ease infinite
- operator: default
icon: phu:tilt-window-closed