From 6fb55e40957b3c1aa6bf691d5c87d677dfed8662 Mon Sep 17 00:00:00 2001 From: Ian Richardson Date: Wed, 19 Feb 2020 03:16:01 -0600 Subject: [PATCH] Add documentation for new option state_color (#12125) --- source/_lovelace/button.markdown | 5 +++++ source/_lovelace/glance.markdown | 5 +++++ source/_lovelace/picture-elements.markdown | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/source/_lovelace/button.markdown b/source/_lovelace/button.markdown index 68db61aaf7a0..2c06e57d49f6 100644 --- a/source/_lovelace/button.markdown +++ b/source/_lovelace/button.markdown @@ -50,6 +50,11 @@ icon_height: description: Set the height for the icon. This is in pixels which is handled by the configuration UI. (Advanced users can use other CSS values if they like) type: string default: auto +state_color: + required: false + description: Set to `true` to have icons colored when entity is active + type: boolean + default: true tap_action: required: false description: Action to take on tap diff --git a/source/_lovelace/glance.markdown b/source/_lovelace/glance.markdown index fb9b54191ac0..90d731e82784 100644 --- a/source/_lovelace/glance.markdown +++ b/source/_lovelace/glance.markdown @@ -47,6 +47,11 @@ columns: required: false description: Number of columns to show. If not specified the number will be set automatically. type: integer +state_color: + required: false + description: Set to `true` to have icons colored when entity is active + type: boolean + default: true {% endconfiguration %} ## Options For Entities diff --git a/source/_lovelace/picture-elements.markdown b/source/_lovelace/picture-elements.markdown index 98196750fa02..4cb8999ead29 100644 --- a/source/_lovelace/picture-elements.markdown +++ b/source/_lovelace/picture-elements.markdown @@ -188,6 +188,11 @@ title: required: false description: Icon tooltip. Set to null to hide. type: string +state_color: + required: false + description: Set to `true` to have icons colored when entity is active + type: boolean + default: true tap_action: required: false description: Action to take on tap