mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-02 17:18:58 +00:00
643 B
643 B
layout, title, description, date, sidebar, comments, sharing, footer, ha_category
layout | title | description | date | sidebar | comments | sharing | footer | ha_category |
---|---|---|---|---|---|---|---|---|
page | Shell command | Instructions how to integrate Shell commands into Home Assistant. | 2015-10-13 19:10 | true | false | true | true | Automation |
This component can expose regular shell commands as services. Services can be called from a script or in automation.
# Example configuration.yaml entry
# Exposes service shell_command.restart_pow
shell_command:
restart_pow: touch ~/.pow/restart.txt
Configuration variables:
- Alias for the command
- Command itself.