From 46dcdfc6a36665505e58daed6242c68fe104583b Mon Sep 17 00:00:00 2001 From: Elahd Bar-Shai Date: Tue, 24 Mar 2020 23:40:54 -0400 Subject: [PATCH] Added white value attribute to doc. See core PR 32481. --- source/_integrations/light.template.markdown | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/source/_integrations/light.template.markdown b/source/_integrations/light.template.markdown index 9ed60901d726..1f0568a5c3c2 100644 --- a/source/_integrations/light.template.markdown +++ b/source/_integrations/light.template.markdown @@ -42,6 +42,11 @@ light: data_template: value: "{{ color_temp }}" 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: - service: input_number.set_value data_template: @@ -84,6 +89,11 @@ light: required: false type: template 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: description: Defines a template to get the color of the light. Must render a tuple (hue, saturation) required: false @@ -114,6 +124,10 @@ light: description: Defines an action to run when the light is given a color temperature command. required: false 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: description: Defines an action to run when the light is given a color command. required: false