Fix Lovelace popup card structure

master
Carlo Costanzo 2 weeks ago
parent 4a8a3126c7
commit b905e04561

@ -41,7 +41,7 @@ This folder holds YAML-managed Home Assistant Lovelace dashboards and UI resourc
- `dashboard.yaml` is the dashboard entrypoint.
- `views/` contains one YAML file per view.
- `partials/` is reusable card lists included into views.
- `popups/` is reusable popup stacks (typically `bubble-card`) included into views.
- `popups/` is reusable standalone popup cards (typically `bubble-card`) included into views.
- `card_mod/` is CSS overrides (use only when card-native options are insufficient).
- `shared/`
- Cross-dashboard reuse only. If something is only used by one dashboard, keep it in that dashboard folder.

@ -11,9 +11,7 @@
# Notes: Volume prune is destructive; keep it hold-to-act with an explicit confirmation.
######################################################################
type: vertical-stack
cards:
- type: custom:bubble-card
type: custom:bubble-card
card_type: pop-up
hash: '#infra-docker-10'
entity: sensor.docker_10_apt_status
@ -24,6 +22,7 @@ cards:
show_state: true
width_desktop: 520px
bg_opacity: '35'
cards:
- type: grid
columns: 2
square: false

@ -11,9 +11,7 @@
# Notes: Volume prune is destructive; keep it hold-to-act with an explicit confirmation.
######################################################################
type: vertical-stack
cards:
- type: custom:bubble-card
type: custom:bubble-card
card_type: pop-up
hash: '#infra-docker-14'
entity: sensor.docker_14_apt_status
@ -24,6 +22,7 @@ cards:
show_state: true
width_desktop: 520px
bg_opacity: '35'
cards:
- type: grid
columns: 2
square: false

@ -11,9 +11,7 @@
# Notes: Volume prune is destructive; keep it hold-to-act with an explicit confirmation.
######################################################################
type: vertical-stack
cards:
- type: custom:bubble-card
type: custom:bubble-card
card_type: pop-up
hash: '#infra-docker-17'
entity: sensor.docker_17_apt_status
@ -24,6 +22,7 @@ cards:
show_state: true
width_desktop: 520px
bg_opacity: '35'
cards:
- type: grid
columns: 2
square: false

@ -11,9 +11,7 @@
# Notes: Volume prune is destructive; keep it hold-to-act with an explicit confirmation.
######################################################################
type: vertical-stack
cards:
- type: custom:bubble-card
type: custom:bubble-card
card_type: pop-up
hash: '#infra-docker-69'
entity: sensor.docker_69_apt_status
@ -24,6 +22,7 @@ cards:
show_state: true
width_desktop: 520px
bg_opacity: '35'
cards:
- type: grid
columns: 2
square: false

@ -10,9 +10,7 @@
# Notes: Uses Bubble slider buttons for each light that is currently on.
######################################################################
type: vertical-stack
cards:
- type: custom:bubble-card
type: custom:bubble-card
card_type: pop-up
hash: '#ovw-lights'
name: Lights Control
@ -21,6 +19,7 @@ cards:
show_header: true
entity: sensor.number_of_lights_on
button_type: name
cards:
- type: custom:auto-entities
show_empty: true
card:

@ -10,9 +10,7 @@
# Notes: Keeps scene actions limited to scenes already defined in `config/scene/living_room.yaml`.
######################################################################
type: vertical-stack
cards:
- type: custom:bubble-card
type: custom:bubble-card
card_type: pop-up
hash: '#ovw-living-room'
button_type: slider
@ -29,6 +27,7 @@ cards:
show_last_changed: true
tap_action:
action: toggle
cards:
- type: custom:bubble-card
card_type: button
button_type: slider

Loading…
Cancel
Save

Powered by TurnKey Linux.