Lovelace: add theme option to several cards (#10912)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Ian Richardson 2019-10-21 19:39:39 -05:00 committed by Franck Nijhof
parent d823f71cde
commit 8f28b2eb76
9 changed files with 36 additions and 0 deletions

View File

@ -44,6 +44,10 @@ states:
description: Arm Night
arm_custom_bypass:
description: Arm Custom Bypass
theme:
required: false
description: "Set to any theme within `themes.yaml`"
type: string
{% endconfiguration %}
## Examples

View File

@ -38,6 +38,10 @@ entity_id:
type: [string, list]
default: none
description: "A list of entity IDs so a template in `content:` only reacts to the state changes of these entities. This can be used if the automatic analysis fails to find all relevant entities."
theme:
required: false
description: "Set to any theme within `themes.yaml`"
type: string
{% endconfiguration %}
## Example

View File

@ -34,6 +34,10 @@ state_filter:
required: false
description: '[State-based CSS filters](#how-to-use-state_filter)'
type: map
theme:
required: false
description: "Set to any theme within `themes.yaml`"
type: string
{% endconfiguration %}
## Elements

View File

@ -59,6 +59,10 @@ show_state:
description: Shows state in footer.
type: boolean
default: true
theme:
required: false
description: "Set to any theme within `themes.yaml`"
type: string
tap_action:
required: false
description: Action to take on tap

View File

@ -63,6 +63,10 @@ show_state:
description: Show entity state-text.
type: boolean
default: true
theme:
required: false
description: "Set to any theme within `themes.yaml`"
type: string
tap_action:
required: false
description: Action to take on tap

View File

@ -20,6 +20,10 @@ image:
required: true
description: The URL of an image.
type: string
theme:
required: false
description: "Set to any theme within `themes.yaml`"
type: string
tap_action:
required: false
description: Action to take on tap

View File

@ -25,6 +25,10 @@ name:
description: Overwrites Friendly Name
type: string
default: Entity Name
theme:
required: false
description: "Set to any theme within `themes.yaml`"
type: string
{% endconfiguration %}
## Example

View File

@ -26,6 +26,10 @@ title:
required: false
description: Title of Shopping List
type: string
theme:
required: false
description: "Set to any theme within `themes.yaml`"
type: string
{% endconfiguration %}
## Examples

View File

@ -25,6 +25,10 @@ name:
description: Overwrites the friendly name.
type: string
default: Entity Name
theme:
required: false
description: "Set to any theme within `themes.yaml`"
type: string
{% endconfiguration %}
Example