From 1646913c1cb4fc6b779ac2494f1cfdf58f2c0b1c Mon Sep 17 00:00:00 2001 From: Elahd Bar-Shai Date: Mon, 20 Apr 2020 08:28:03 -0400 Subject: [PATCH] Added white value attribute to doc. See core PR 32481. (#12508) --- 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 9ed60901d72..1f0568a5c3c 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