From 683e172ef6587246a484bf36162b0f049ad40190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Fri, 25 Jan 2019 10:10:08 +0100 Subject: [PATCH] lovelace - Move time-of-day card to dev view --- lovelace/main.yaml | 11 ++++++++--- lovelace/timeofday_card.yaml | 4 ++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/lovelace/main.yaml b/lovelace/main.yaml index 2a56db4..761428c 100644 --- a/lovelace/main.yaml +++ b/lovelace/main.yaml @@ -5,18 +5,23 @@ resources: !include resources.yaml views: - title: Hemma cards: + {{ dev_card }} - !include floorplan.yaml - !include coffee_card.yaml - !include cameras/barnrum.yaml - !include cameras/kontor.yaml - !include temperatures_card.yaml - - !include timeofday_card.yaml - {{ dev_card }} - title: Floorplan panel: true cards: - type: vertical-stack cards: - - !include floorplan.yaml {{ dev_card }} + - !include floorplan.yaml + - title: Dev + path: dev + icon: mdi:settings + cards: + {{ dev_card }} + - !include timeofday_card.yaml diff --git a/lovelace/timeofday_card.yaml b/lovelace/timeofday_card.yaml index f45f2b4..ce19ee8 100644 --- a/lovelace/timeofday_card.yaml +++ b/lovelace/timeofday_card.yaml @@ -12,12 +12,16 @@ entities: name: ' ' - entity: input_datetime.tod_morning name: Morgon + type: custom:time-input-row - entity: input_datetime.tod_day name: Dag + type: custom:time-input-row - entity: input_datetime.tod_evening name: Kväll + type: custom:time-input-row - entity: input_datetime.tod_night name: Natt + type: custom:time-input-row - type: section - entity: switch.tod_dark