From 66c5e72018ab667a605025918fec095b50353264 Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Fri, 1 May 2020 20:44:04 +0300 Subject: [PATCH] Add lux to kitchen dashboard --- .../button_card_templates/progress_button.yaml | 1 - .../lovelace/home_dashboard/kitchen_dashboard.yaml | 12 ++++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/config/lovelace/button_card_templates/progress_button.yaml b/config/lovelace/button_card_templates/progress_button.yaml index fd2d8fd..95411ba 100644 --- a/config/lovelace/button_card_templates/progress_button.yaml +++ b/config/lovelace/button_card_templates/progress_button.yaml @@ -35,7 +35,6 @@ progress: - top: 0 - right: 0 - height: 16px - - transform: translateX(5px) card: - background: > [[[ diff --git a/config/lovelace/home_dashboard/kitchen_dashboard.yaml b/config/lovelace/home_dashboard/kitchen_dashboard.yaml index bd9cd9d..7a86c7b 100644 --- a/config/lovelace/home_dashboard/kitchen_dashboard.yaml +++ b/config/lovelace/home_dashboard/kitchen_dashboard.yaml @@ -134,7 +134,6 @@ action: call-service service: script.sonos_join_tv - - type: horizontal-stack cards: - type: custom:button-card @@ -146,7 +145,16 @@ name: Motion variables: state_indicator_id: automation.lighting_kitchen_day_mode_motion_turn_lights_on_after_sunset - + - type: custom:button-card + template: + - xs + - progress + entity: sensor.motion_1_illuminance + name: Lux + variables: + min_value: 0 + max_value: 1000 + normal_value: 1000 - type: custom:button-card template: - xs