From 7642a5e11ed9130a0e90bd73700db00e56313933 Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Sat, 4 Apr 2020 12:07:03 +0300 Subject: [PATCH] Add alarm to tablet view --- config/tablet-lovelace.yaml | 52 +++++++++++++++++++++++-------------- 1 file changed, 32 insertions(+), 20 deletions(-) diff --git a/config/tablet-lovelace.yaml b/config/tablet-lovelace.yaml index 8c8f6b8..75cbdde 100644 --- a/config/tablet-lovelace.yaml +++ b/config/tablet-lovelace.yaml @@ -110,26 +110,38 @@ views: cards: - type: horizontal-stack cards: - - type: custom:button-card - template: small - entity: input_select.sonos_leader - - type: custom:button-card - template: small - entity: input_boolean.speech_notifications - - type: custom:button-card - template: small - entity: input_boolean.guest_mode - - type: horizontal-stack - cards: - - type: custom:button-card - template: small - entity: input_boolean.domestina - - type: custom:button-card - template: small - entity: input_boolean.sleep_mode - - type: custom:button-card - template: small - entity: input_boolean.georgi_home + - type: vertical-stack + cards: + - type: horizontal-stack + cards: + - type: custom:button-card + template: small + entity: input_boolean.speech_notifications + name: Speech + - type: custom:button-card + template: small + entity: input_boolean.georgi_home + - type: horizontal-stack + cards: + - type: custom:button-card + template: small + entity: input_boolean.sleep_mode + - type: custom:button-card + template: small + entity: input_boolean.guest_mode + - type: vertical-stack + cards: + - type: custom:button-card + template: small + entity: input_boolean.alarm_enabled + - type: entities + style: | + ha-card { + padding-bottom: 9px + } + entities: + - entity: input_datetime.alarm_time + name: "Time" - type: horizontal-stack title: Sensors cards: