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.
This commit is contained in:
Michael R. Davis 2018-01-08 07:03:47 -05:00 committed by Fabian Affolter
parent a3364e6608
commit 94c267623f

View File

@ -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: