From e0b80f2fd11b52d43a7e17a6a47bb2908f13389a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 9 Sep 2015 11:09:20 +0200 Subject: [PATCH] Add variables description --- source/components/switch.command_switch.markdown | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/components/switch.command_switch.markdown b/source/components/switch.command_switch.markdown index 407fdee7372..70efd603d24 100644 --- a/source/components/switch.command_switch.markdown +++ b/source/components/switch.command_switch.markdown @@ -23,3 +23,10 @@ switch: oncmd: switch_command on kitchen offcmd: switch_command off kitchen ``` + +Configuration variables: + +- **switches** array (*Required*): Contains all command switches. + - **'entry'** (*Required*): Name of the command switch. Multiple entries are possible. + - **oncmd** (*Required*): The action to take for on. + - **offcmd** (*Required*): The action to take for off.