From 94c267623fa32c7ae435284029f3d4c889e77ca8 Mon Sep 17 00:00:00 2001 From: "Michael R. Davis" Date: Mon, 8 Jan 2018 07:03:47 -0500 Subject: [PATCH] Update the YAML example to a more "generic" example (#4371) The original YAML platform example was written to only support one platform within a switch component. --- source/_components/switch.command_line.markdown | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/_components/switch.command_line.markdown b/source/_components/switch.command_line.markdown index cdb5162ca2a..0c70ae6afca 100644 --- a/source/_components/switch.command_line.markdown +++ b/source/_components/switch.command_line.markdown @@ -21,11 +21,11 @@ To enable it, add the following lines to your `configuration.yaml`: ```yaml # Example configuration.yaml entry switch: - platform: command_line - switches: - kitchen_light: - command_on: switch_command on kitchen - command_off: switch_command off kitchen + - platform: command_line + switches: + kitchen_light: + command_on: switch_command on kitchen + command_off: switch_command off kitchen ``` Configuration variables: