From 0fda89e98364d7ee2dfe3ce5e95001371f350c14 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 21 Oct 2015 23:05:38 +0200 Subject: [PATCH] Remove configuration details --- .../components/switch/command_switch.py | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/homeassistant/components/switch/command_switch.py b/homeassistant/components/switch/command_switch.py index 3a1964ad4d0..211f1c95600 100644 --- a/homeassistant/components/switch/command_switch.py +++ b/homeassistant/components/switch/command_switch.py @@ -1,37 +1,8 @@ -# -*- coding: utf-8 -*- """ homeassistant.components.switch.command_switch ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Allows to configure custom shell commands to turn a switch on/off. -Configuration: - -To use the command_line switch you will need to add something like the -following to your configuration.yaml file. - -switch: - platform: command_switch - switches: - name_of_the_switch: - oncmd: switch_command on for name_of_the_switch - offcmd: switch_command off for name_of_the_switch - -Variables: - -These are the variables for the switches array: - -name_of_the_switch -*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. - For more details about this platform, please refer to the documentation at https://home-assistant.io/components/switch.command_switch.html """