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:
parent
a3364e6608
commit
94c267623f
1 changed files with 5 additions and 5 deletions
|
|
@ -21,11 +21,11 @@ To enable it, add the following lines to your `configuration.yaml`:
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
switch:
|
switch:
|
||||||
platform: command_line
|
- platform: command_line
|
||||||
switches:
|
switches:
|
||||||
kitchen_light:
|
kitchen_light:
|
||||||
command_on: switch_command on kitchen
|
command_on: switch_command on kitchen
|
||||||
command_off: switch_command off kitchen
|
command_off: switch_command off kitchen
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue