From 5730af01eddaa534408af71f49380c0c519eb713 Mon Sep 17 00:00:00 2001 From: Molodax Date: Sun, 13 Nov 2016 15:49:37 +0100 Subject: [PATCH] Update switch.command_line.markdown (#1436) There are several mistakes in the examples: upper case and spaces are not allowed in identifier. See the issue here: https://community.home-assistant.io/t/command-line-switch-possible-documentation-issue/6218/3 --- source/_components/switch.command_line.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_components/switch.command_line.markdown b/source/_components/switch.command_line.markdown index 85460779b7c..ac837fa52e7 100644 --- a/source/_components/switch.command_line.markdown +++ b/source/_components/switch.command_line.markdown @@ -73,7 +73,7 @@ This switch will shutdown your host immediately, there will be no confirmation. switch: platform: command_line switches: - Home Assistant system shutdown: + home_assistant_system_shutdown: command_off: "/usr/sbin/poweroff" ``` @@ -87,7 +87,7 @@ This switch will control a local VLC media player ([Source](https://community.ho switch: platform: command_line switches: - VLC: + vlc: command_on: "cvlc 1.mp3 vlc://quit &" command_off: "pkill vlc" ```