mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Lovelace: add theme option to several cards (#10912)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
d823f71cde
commit
8f28b2eb76
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user