You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.5 KiB
52 lines
1.5 KiB
######################################################################
|
|
# @CCOSTAN - Follow Me on X
|
|
# For more info visit https://www.vcloudinfo.com/click-here
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
|
# -------------------------------------------------------------------
|
|
# Overview Popup - Lights on
|
|
# Bubble Card popup for currently active lights.
|
|
# -------------------------------------------------------------------
|
|
# Notes: Keeps the popup hash stable with the `#ovw-*` convention.
|
|
# Notes: Uses Bubble slider buttons for each light that is currently on.
|
|
# Notes: Layout Card keeps the empty auto-entities hydration pass valid.
|
|
######################################################################
|
|
|
|
type: custom:bubble-card
|
|
card_type: pop-up
|
|
hash: '#ovw-lights'
|
|
name: Lights Control
|
|
icon: mdi:lightbulb-group
|
|
width_desktop: 560px
|
|
show_header: true
|
|
entity: sensor.number_of_lights_on
|
|
button_type: name
|
|
cards:
|
|
- type: custom:auto-entities
|
|
show_empty: true
|
|
card:
|
|
type: custom:layout-card
|
|
layout_type: custom:grid-layout
|
|
layout:
|
|
grid-template-columns: repeat(2, minmax(0, 1fr))
|
|
grid-auto-flow: row
|
|
grid-auto-rows: min-content
|
|
grid-gap: 8px
|
|
margin: 0
|
|
card_param: cards
|
|
filter:
|
|
include:
|
|
- domain: light
|
|
options:
|
|
type: custom:bubble-card
|
|
card_type: button
|
|
button_type: slider
|
|
show_state: true
|
|
show_last_changed: true
|
|
show_attribute: false
|
|
exclude:
|
|
- state: 'off'
|
|
- state: unavailable
|
|
- hidden_by: user
|
|
sort:
|
|
method: friendly_name
|