From 3d77f07f68f92bd437a4e6f490d2dfaff99f1fa0 Mon Sep 17 00:00:00 2001 From: darthsandmann Date: Sat, 30 Jul 2022 16:41:49 +0200 Subject: [PATCH] Grouping --- lovelace/lights/lightbulbs.yaml | 60 ++++++++++++++++--------------- lovelace/lights/lightgroups.yaml | 35 +++++++++--------- lovelace/lights/lightstripes.yaml | 30 ++++++++-------- 3 files changed, 66 insertions(+), 59 deletions(-) diff --git a/lovelace/lights/lightbulbs.yaml b/lovelace/lights/lightbulbs.yaml index 1feefb7..40cd401 100644 --- a/lovelace/lights/lightbulbs.yaml +++ b/lovelace/lights/lightbulbs.yaml @@ -2,31 +2,35 @@ template: card_title name: Light Bulbs -- type: 'custom:button-card' - template: card_light_slider_collapse - variables: - ulm_card_light_slider_collapse_name: Ceiling 1 - ulm_card_light_enable_collapse: false - ulm_card_light_name: Ceiling 1 - entity: light.ceiling1 -- type: 'custom:button-card' - template: card_light_slider_collapse - variables: - ulm_card_light_slider_collapse_name: Ceiling 2 - ulm_card_light_enable_collapse: false - ulm_card_light_name: Ceiling 2 - entity: light.ceiling2 -- type: 'custom:button-card' - template: card_light_slider_collapse - variables: - ulm_card_light_slider_collapse_name: Ceiling 3 - ulm_card_light_enable_collapse: false - ulm_card_light_name: Ceiling 3 - entity: light.ceiling3 -- type: 'custom:button-card' - template: card_light_slider_collapse - variables: - ulm_card_light_slider_collapse_name: Bed - ulm_card_light_enable_collapse: false - ulm_card_light_name: Bed - entity: light.bed_ceiling \ No newline at end of file +- type: "horizontal-stack" + cards: + - type: 'custom:button-card' + template: card_light_slider_collapse + variables: + ulm_card_light_slider_collapse_name: Ceiling 1 + ulm_card_light_enable_collapse: false + ulm_card_light_name: Ceiling 1 + entity: light.ceiling1 + - type: 'custom:button-card' + template: card_light_slider_collapse + variables: + ulm_card_light_slider_collapse_name: Ceiling 2 + ulm_card_light_enable_collapse: false + ulm_card_light_name: Ceiling 2 + entity: light.ceiling2 +- type: "horizontal-stack" + cards: + - type: 'custom:button-card' + template: card_light_slider_collapse + variables: + ulm_card_light_slider_collapse_name: Ceiling 3 + ulm_card_light_enable_collapse: false + ulm_card_light_name: Ceiling 3 + entity: light.ceiling3 + - type: 'custom:button-card' + template: card_light_slider_collapse + variables: + ulm_card_light_slider_collapse_name: Bed + ulm_card_light_enable_collapse: false + ulm_card_light_name: Bed + entity: light.bed_ceiling \ No newline at end of file diff --git a/lovelace/lights/lightgroups.yaml b/lovelace/lights/lightgroups.yaml index 3272af5..707f8f7 100644 --- a/lovelace/lights/lightgroups.yaml +++ b/lovelace/lights/lightgroups.yaml @@ -2,21 +2,22 @@ template: card_title name: Light Groups +- type: "horizontal-stack" + cards: + - type: 'custom:button-card' + template: card_light_slider_collapse + variables: + ulm_card_light_slider_collapse_name: Indirect + ulm_card_light_enable_collapse: false + ulm_card_light_name: Indirect + ulm_input_select_option: light indirect + ulm_input_select: input_select.minimalist_ui_switch + entity: light.all_indirect -- type: 'custom:button-card' - template: card_light_slider_collapse - variables: - ulm_card_light_slider_collapse_name: Indirect - ulm_card_light_enable_collapse: false - ulm_card_light_name: Indirect - ulm_input_select_option: light indirect - ulm_input_select: input_select.minimalist_ui_switch - entity: light.all_indirect - -- type: 'custom:button-card' - template: card_light_slider_collapse - variables: - ulm_card_light_slider_collapse_name: Direct - ulm_card_light_enable_collapse: false - ulm_card_light_name: Direct - entity: light.all_direct \ No newline at end of file + - type: 'custom:button-card' + template: card_light_slider_collapse + variables: + ulm_card_light_slider_collapse_name: Direct + ulm_card_light_enable_collapse: false + ulm_card_light_name: Direct + entity: light.all_direct \ No newline at end of file diff --git a/lovelace/lights/lightstripes.yaml b/lovelace/lights/lightstripes.yaml index 7def890..71ec789 100644 --- a/lovelace/lights/lightstripes.yaml +++ b/lovelace/lights/lightstripes.yaml @@ -2,18 +2,20 @@ template: card_title name: Light Stripes -- type: 'custom:button-card' - template: card_light_slider_collapse - variables: - ulm_card_light_slider_collapse_name: Bed - ulm_card_light_enable_collapse: false - ulm_card_light_name: Bed - entity: light.bed +- type: "horizontal-stack" + cards: + - type: 'custom:button-card' + template: card_light_slider_collapse + variables: + ulm_card_light_slider_collapse_name: Bed + ulm_card_light_enable_collapse: false + ulm_card_light_name: Bed + entity: light.bed -- type: 'custom:button-card' - template: card_light_slider_collapse - variables: - ulm_card_light_slider_collapse_name: Desk - ulm_card_light_enable_collapse: false - ulm_card_light_name: Desk - entity: light.desk \ No newline at end of file + - type: 'custom:button-card' + template: card_light_slider_collapse + variables: + ulm_card_light_slider_collapse_name: Desk + ulm_card_light_enable_collapse: false + ulm_card_light_name: Desk + entity: light.desk \ No newline at end of file