mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 10:17:23 +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
|
description: Arm Night
|
||||||
arm_custom_bypass:
|
arm_custom_bypass:
|
||||||
description: Arm Custom Bypass
|
description: Arm Custom Bypass
|
||||||
|
theme:
|
||||||
|
required: false
|
||||||
|
description: "Set to any theme within `themes.yaml`"
|
||||||
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
@ -38,6 +38,10 @@ entity_id:
|
|||||||
type: [string, list]
|
type: [string, list]
|
||||||
default: none
|
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."
|
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 %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
@ -34,6 +34,10 @@ state_filter:
|
|||||||
required: false
|
required: false
|
||||||
description: '[State-based CSS filters](#how-to-use-state_filter)'
|
description: '[State-based CSS filters](#how-to-use-state_filter)'
|
||||||
type: map
|
type: map
|
||||||
|
theme:
|
||||||
|
required: false
|
||||||
|
description: "Set to any theme within `themes.yaml`"
|
||||||
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## Elements
|
## Elements
|
||||||
|
@ -59,6 +59,10 @@ show_state:
|
|||||||
description: Shows state in footer.
|
description: Shows state in footer.
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
theme:
|
||||||
|
required: false
|
||||||
|
description: "Set to any theme within `themes.yaml`"
|
||||||
|
type: string
|
||||||
tap_action:
|
tap_action:
|
||||||
required: false
|
required: false
|
||||||
description: Action to take on tap
|
description: Action to take on tap
|
||||||
|
@ -63,6 +63,10 @@ show_state:
|
|||||||
description: Show entity state-text.
|
description: Show entity state-text.
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
theme:
|
||||||
|
required: false
|
||||||
|
description: "Set to any theme within `themes.yaml`"
|
||||||
|
type: string
|
||||||
tap_action:
|
tap_action:
|
||||||
required: false
|
required: false
|
||||||
description: Action to take on tap
|
description: Action to take on tap
|
||||||
|
@ -20,6 +20,10 @@ image:
|
|||||||
required: true
|
required: true
|
||||||
description: The URL of an image.
|
description: The URL of an image.
|
||||||
type: string
|
type: string
|
||||||
|
theme:
|
||||||
|
required: false
|
||||||
|
description: "Set to any theme within `themes.yaml`"
|
||||||
|
type: string
|
||||||
tap_action:
|
tap_action:
|
||||||
required: false
|
required: false
|
||||||
description: Action to take on tap
|
description: Action to take on tap
|
||||||
|
@ -25,6 +25,10 @@ name:
|
|||||||
description: Overwrites Friendly Name
|
description: Overwrites Friendly Name
|
||||||
type: string
|
type: string
|
||||||
default: Entity Name
|
default: Entity Name
|
||||||
|
theme:
|
||||||
|
required: false
|
||||||
|
description: "Set to any theme within `themes.yaml`"
|
||||||
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
@ -26,6 +26,10 @@ title:
|
|||||||
required: false
|
required: false
|
||||||
description: Title of Shopping List
|
description: Title of Shopping List
|
||||||
type: string
|
type: string
|
||||||
|
theme:
|
||||||
|
required: false
|
||||||
|
description: "Set to any theme within `themes.yaml`"
|
||||||
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
@ -25,6 +25,10 @@ name:
|
|||||||
description: Overwrites the friendly name.
|
description: Overwrites the friendly name.
|
||||||
type: string
|
type: string
|
||||||
default: Entity Name
|
default: Entity Name
|
||||||
|
theme:
|
||||||
|
required: false
|
||||||
|
description: "Set to any theme within `themes.yaml`"
|
||||||
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
Example
|
Example
|
||||||
|
Loading…
x
Reference in New Issue
Block a user