From fb1ad1eca7a956538ff506dba462527189f5cc9f Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Sun, 24 Jul 2022 10:37:08 +0200 Subject: [PATCH] Added shopping list --- README.md | 1 + ui_lovelace_minimalist/dashboard/ui-lovelace.yaml | 1 + ui_lovelace_minimalist/dashboard/views/home.yaml | 6 +++--- .../dashboard/views/shoppinglist.yaml | 13 +++++++++++++ 4 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 ui_lovelace_minimalist/dashboard/views/shoppinglist.yaml diff --git a/README.md b/README.md index 14ba0b1..9548bbd 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,4 @@ - mqtt - OpenWeatherMap - UI Lovelace Minimalist +- Shopping List diff --git a/ui_lovelace_minimalist/dashboard/ui-lovelace.yaml b/ui_lovelace_minimalist/dashboard/ui-lovelace.yaml index 773c2d1..7154cd8 100644 --- a/ui_lovelace_minimalist/dashboard/ui-lovelace.yaml +++ b/ui_lovelace_minimalist/dashboard/ui-lovelace.yaml @@ -8,3 +8,4 @@ views: - !include views/livingroom.yaml - !include views/laundry.yaml - !include views/kitchen.yaml + - !include views/shoppinglist.yaml diff --git a/ui_lovelace_minimalist/dashboard/views/home.yaml b/ui_lovelace_minimalist/dashboard/views/home.yaml index 5e1ed74..cad6440 100644 --- a/ui_lovelace_minimalist/dashboard/views/home.yaml +++ b/ui_lovelace_minimalist/dashboard/views/home.yaml @@ -8,9 +8,9 @@ cards: ulm_card_esh_welcome_collapse: input_boolean.minimalist_dropdown ulm_weather: "weather.openweathermap" entity_1: - nav: "house" - icon: "mdi:home" - name: "House" + nav: "shoppinglist" + icon: "mdi:cart-outline" + name: "Handla" color: "blue" entity_2: nav: "lights" diff --git a/ui_lovelace_minimalist/dashboard/views/shoppinglist.yaml b/ui_lovelace_minimalist/dashboard/views/shoppinglist.yaml new file mode 100644 index 0000000..1ba8a45 --- /dev/null +++ b/ui_lovelace_minimalist/dashboard/views/shoppinglist.yaml @@ -0,0 +1,13 @@ +title: "Inköpslista" +path: "shoppinglist" +cards: + - type: horizontal-stack + cards: + - type: "custom:button-card" + template: chip_back + variables: + ulm_chip_back_path: home + - type: "custom:button-card" + template: card_title + name: Inköpslista + - type: shopping-list