mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Added white value attribute to doc. See core PR 32481. (#12508)
This commit is contained in:
parent
dc734e129d
commit
1646913c1c
@ -42,6 +42,11 @@ light:
|
|||||||
data_template:
|
data_template:
|
||||||
value: "{{ color_temp }}"
|
value: "{{ color_temp }}"
|
||||||
entity_id: input_number.temperature_input
|
entity_id: input_number.temperature_input
|
||||||
|
set_white_value:
|
||||||
|
service: input_number.set_value
|
||||||
|
data_template:
|
||||||
|
value: "{{ white_value }}"
|
||||||
|
entity_id: input_number.white_value_input
|
||||||
set_color:
|
set_color:
|
||||||
- service: input_number.set_value
|
- service: input_number.set_value
|
||||||
data_template:
|
data_template:
|
||||||
@ -84,6 +89,11 @@ light:
|
|||||||
required: false
|
required: false
|
||||||
type: template
|
type: template
|
||||||
default: optimistic
|
default: optimistic
|
||||||
|
white_value_template:
|
||||||
|
description: Defines a template to get the white value of the light.
|
||||||
|
required: false
|
||||||
|
type: template
|
||||||
|
default: optimistic
|
||||||
color_template:
|
color_template:
|
||||||
description: Defines a template to get the color of the light. Must render a tuple (hue, saturation)
|
description: Defines a template to get the color of the light. Must render a tuple (hue, saturation)
|
||||||
required: false
|
required: false
|
||||||
@ -114,6 +124,10 @@ light:
|
|||||||
description: Defines an action to run when the light is given a color temperature command.
|
description: Defines an action to run when the light is given a color temperature command.
|
||||||
required: false
|
required: false
|
||||||
type: action
|
type: action
|
||||||
|
set_white_value:
|
||||||
|
description: Defines an action to run when the light is given a white value command.
|
||||||
|
required: false
|
||||||
|
type: action
|
||||||
set_color:
|
set_color:
|
||||||
description: Defines an action to run when the light is given a color command.
|
description: Defines an action to run when the light is given a color command.
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user