From 96237977e6a9ec391a019ed672938f729204f386 Mon Sep 17 00:00:00 2001 From: darthsandmann Date: Sat, 30 Jul 2022 14:15:42 +0200 Subject: [PATCH] Testing Views --- lovelace/testing.yaml | 6 ++++++ ui-lovelace.yaml | 21 +++++++++++++++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 lovelace/testing.yaml diff --git a/lovelace/testing.yaml b/lovelace/testing.yaml new file mode 100644 index 0000000..fb55988 --- /dev/null +++ b/lovelace/testing.yaml @@ -0,0 +1,6 @@ +- view_layout: + grid-area: "card1" + type: "custom:button-card" + template: "card_title" + name: "Card 1 Testing" + label: "grid-area: card1" \ No newline at end of file diff --git a/ui-lovelace.yaml b/ui-lovelace.yaml index d8b5e82..18dc3df 100644 --- a/ui-lovelace.yaml +++ b/ui-lovelace.yaml @@ -12,7 +12,7 @@ views: title: "Overview" path: 0 layout: - grid-template-columns: "1fr 1fr" + grid-template-columns: "1fr 1fr 1fr" grid-template-rows: "min-content" grid-template-areas: | "main popup" @@ -48,4 +48,21 @@ views: - type: "vertical-stack" cards: - !include lovelace/popup.yaml \ No newline at end of file + !include lovelace/popup.yaml + + + - type: "custom:grid-layout" + title: "Testing" + path: 1 + layout: + grid-template-columns: "1fr 1fr 1fr" + grid-template-rows: "min-content" + grid-template-areas: | + "main popup" + mediaquery: + "(max-width: 1100px), (orientation: portrait)": + grid-template-columns: "100%" + grid-template-areas: "main" + cards: + + !include lovelace/testing.yaml \ No newline at end of file