Add component collection
This commit is contained in:
parent
9702d39c42
commit
120dbf547d
113 changed files with 323 additions and 120 deletions
25
source/_components/shell_command.markdown
Normal file
25
source/_components/shell_command.markdown
Normal file
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
layout: page
|
||||
title: "Shell command component"
|
||||
description: "Instructions how to integrate Shell commands into Home Assistant."
|
||||
date: 2015-10-13 19:10
|
||||
sidebar: false
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
ha_category: Other
|
||||
---
|
||||
|
||||
<img src='/images/supported_brands/utilities-terminal.png' class='brand pull-right' />
|
||||
This component can expose regular shell commands as services.
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
shell_command:
|
||||
restart_pow: touch ~/.pow/restart.txt
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- Alias for the command and the command itself.
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue