Release notes 2015-06-10
This commit is contained in:
parent
be163d98fc
commit
edabc798ff
10 changed files with 270 additions and 1 deletions
22
source/components/switch.command_switch.markdown
Normal file
22
source/components/switch.command_switch.markdown
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
layout: page
|
||||
title: "Command line switches support"
|
||||
description: "Instructions how to have a switch call command line commands."
|
||||
date: 2015-06-10 22:41
|
||||
sidebar: false
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
---
|
||||
|
||||
A switch platform that issues specific commands when it is turned on and off. This might very well become our most platform as it allows anyone to integrate any type of switch into Home Assistant that can be controlled from the command line, including calling other scripts!
|
||||
|
||||
```
|
||||
# Example configuration.yaml entry
|
||||
switch:
|
||||
platform: command_switch
|
||||
switches:
|
||||
- kitchen_light:
|
||||
oncmd: switch_command on kitchen
|
||||
offcmd: switch_command off kitchen
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue