mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-10 02:46:53 +00:00
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
@ -21,7 +21,7 @@ To enable it, add the following lines to your `configuration.yaml`:
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
switch:
|
||||
platform: command_line
|
||||
- platform: command_line
|
||||
switches:
|
||||
kitchen_light:
|
||||
command_on: switch_command on kitchen
|
||||
|
Loading…
x
Reference in New Issue
Block a user