From 42c58060ba0004028ad80a70c0dce513b788bf16 Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Sat, 4 Apr 2020 12:17:13 +0300 Subject: [PATCH] Change button styles --- config/lovelace/button_card_templates/small_button.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/lovelace/button_card_templates/small_button.yaml b/config/lovelace/button_card_templates/small_button.yaml index bfbd88d..5e48574 100644 --- a/config/lovelace/button_card_templates/small_button.yaml +++ b/config/lovelace/button_card_templates/small_button.yaml @@ -10,3 +10,10 @@ small: - font-size: 14px name: - height: 30px + state: + - value: 'on' + styles: + card: + - background-color: var(--accent-color) + icon: + - color: black