From 79919e5857d11923028f7a8c3c6d75a446701ca3 Mon Sep 17 00:00:00 2001 From: darthsandmann Date: Sat, 30 Jul 2022 14:17:45 +0200 Subject: [PATCH] Testing Views --- lovelace/testing.yaml | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/lovelace/testing.yaml b/lovelace/testing.yaml index fb55988..4da536e 100644 --- a/lovelace/testing.yaml +++ b/lovelace/testing.yaml @@ -3,4 +3,34 @@ type: "custom:button-card" template: "card_title" name: "Card 1 Testing" - label: "grid-area: card1" \ No newline at end of file + label: "grid-area: card1" + + +- view_layout: + grid-area: "card1" + type: "custom:button-card" + template: "card_light" + entity: "light.all_indirect" + variables: + ulm_card_light_enable_color: true + ulm_card_light_enable_slider: true + ulm_card_light_enable_popup: true + ulm_input_select_option: light 1 + ulm_input_select: input_select.minimalist_ui_switch + +- type: custom:state-switch + view_layout: + grid-area: popup + show: + mediaquery: "(min-width: 1100px)" + entity: input_select.minimalist_ui # put your input_select here + default: default + transition: slide-down + transition_time: 500 + states: + ## Lights + light 1: + type: "custom:button-card" + template: "popup_light_brightness" + variables: + ulm_popup_light_entity: light.all_indirect \ No newline at end of file