From 7d0759853394979e9cc0fd6bd51a506c91d7b513 Mon Sep 17 00:00:00 2001 From: Rohan Kapoor Date: Thu, 11 Oct 2018 12:21:15 -0700 Subject: [PATCH] Add `white_value` as a possible variable in `command_on_template` (#6677) * Add `white_value` as a possible variable in `command_on_template` * :pencil2: Tweak --- source/_components/light.mqtt_template.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/light.mqtt_template.markdown b/source/_components/light.mqtt_template.markdown index 27f5e0f0b33..adf44a2a92e 100644 --- a/source/_components/light.mqtt_template.markdown +++ b/source/_components/light.mqtt_template.markdown @@ -52,7 +52,7 @@ state_topic: required: false type: string command_on_template: - description: "The [template](/docs/configuration/templating/#processing-incoming-data) for *on* state changes. Available variables: `state`, `brightness`, `red`, `green`, `blue`, `flash`, `transition` and `effect`." + description: "The [template](/docs/configuration/templating/#processing-incoming-data) for *on* state changes. Available variables: `state`, `brightness`, `red`, `green`, `blue`, `white_value`, `flash`, `transition` and `effect`." required: true type: string command_off_template: