Sure. Here is the code of my first pop-up:
type: vertical-stack
cards:
- type: custom:bubble-card
card_type: pop-up
hash: "#Erdgeschoss"
name: Erdgeschoss
icon: mdi:home-floor-0
is_sidebar_hidden: true
entity: light.erdgeschoss
state: sensor.lumi_lumi_weather_temperature_2
auto_close: "30000"
bg_opacity: "90"
bg_blur: "0"
shadow_opacity: "100"
sub_button:
- entity: sensor.lumi_lumi_weather_temperature_2
show_background: false
show_state: true
show_attribute: false
show_last_changed: false
card_layout: normal
styles: |2-
* {
font-size: 16px !important;
}
.bubble-button-card-container {
background: rgba(60,60,60,0.3) !important;
}
margin_top_mobile: "-10px"
hide_backdrop: false
backdrop_blur: "3"
bg_color: ""
- type: custom:bubble-card
card_type: separator
name: Licht
icon: mdi:ceiling-light-multiple
styles: |-
.bubble-line {
background: var(--primary-text-color);
opacity: 0.1;
}
* {
font-size: 20px !important;
}
.bubble-name {
height: 24px
}
.bubble-icon {
--mdc-icon-size: 24px !important;
}
- type: custom:bubble-card
card_type: button
button_type: slider
entity: light.wohnzimmer
name: Wohnbereich
sub_button:
- name: Szenen
show_name: false
show_state: true
show_last_changed: false
state_background: true
show_background: true
show_attribute: false
attribute: hue_scenes
entity: input_select.wohnzimmer_licht_szenen
- type: horizontal-stack
cards:
- type: custom:bubble-card
card_type: button
button_type: switch
entity: light.tv_bereich
icon: mdi:lightbulb-spot
name: TV
- type: custom:bubble-card
card_type: button
entity: light.couch_licht
name: Couch
icon: mdi:lightbulb-spot
button_type: slider
- type: horizontal-stack
cards:
- type: custom:bubble-card
card_type: button
button_type: switch
entity: light.eg_kuche_arbeitslicht_licht
icon: mdi:lightbulb-spot
name: Küche Arbeitslicht
scrolling_effect: false
- type: custom:bubble-card
card_type: button
entity: light.eg_kuche_ambient_licht
icon: mdi:globe-light
name: Küche Hängeleuchten
scrolling_effect: false
- type: horizontal-stack
cards:
- type: custom:bubble-card
card_type: button
button_type: switch
entity: light.treppenwand
name: Wand
icon: mdi:lightbulb-spot
- type: custom:bubble-card
card_type: button
entity: light.eg_essbereich_hangeleuchte_light_2
name: Tisch
icon: mdi:globe-light
- type: horizontal-stack
cards:
- type: custom:bubble-card
card_type: button
button_type: switch
entity: switch.eg_garten_terassenbeleuchtung
name: Terrasse
icon: mdi:lightbulb-spot
- type: custom:bubble-card
card_type: button
button_type: switch
entity: light.sonoff_01minizb_light
tap_action:
action: toggle
name: Garderobe
icon: mdi:wardrobe
- type: custom:bubble-card
card_type: separator
name: Rollos
icon: mdi:window-shutter
styles: |-
.bubble-line {
background: var(--primary-text-color);
opacity: 0.1;
}
* {
font-size: 20px !important;
}
.bubble-name {
height: 24px
}
.bubble-icon {
--mdc-icon-size: 24px !important;
}
- type: custom:mod-card
card_mod:
style: |
swipe-card$: |
.swiper-wrapper {
padding-bottom: 2vw !important;
}
card:
type: custom:swipe-card
parameters:
grabCursor: true
centeredSlides: false
spaceBetween: 12
followFinger: true
pagination:
type: bullets
color: white
cards:
- type: vertical-stack
cards:
- type: custom:bubble-card
card_type: cover
entity: cover.eg_rollos
name: Alle
show_state: true
- type: custom:bubble-card
card_type: cover
entity: cover.eg_wz_rolladenaktor1
name: Terrassenfenster
show_state: true
- type: custom:bubble-card
card_type: cover
entity: cover.eg_wz_rolladenaktor2
name: Terrassentür
show_state: true
- type: custom:bubble-card
card_type: cover
entity: cover.eg_wz_rolladenaktor3
name: Küchenfenster
show_state: true
- type: custom:bubble-card
card_type: separator
name: Klima
icon: mdi:home-thermometer
styles: |-
.bubble-line {
background: var(--primary-text-color);
opacity: 0.1;
}
* {
font-size: 20px !important;
}
.bubble-name {
height: 24px
}
.bubble-icon {
--mdc-icon-size: 24px !important;
}
- type: custom:vertical-stack-in-card
cards:
- align_state: center
type: custom:mini-graph-card
name: " "
icon: fa
update_interval: 5
group_by: hour
hour24: true
entities:
- color: "#ff803b"
entity: sensor.lumi_lumi_weather_temperature_2
icon: false
name: Temperatur
index: 0
- color: "#A7C7E7"
entity: sensor.lumi_lumi_weather_humidity_2
name: Feuchtigkeit
y_axis: secondary
show_state: true
index: 1