mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Add command line notify docs
This commit is contained in:
parent
458a193889
commit
b388d87181
32
source/_components/notify.command_line.markdown
Normal file
32
source/_components/notify.command_line.markdown
Normal file
@ -0,0 +1,32 @@
|
||||
---
|
||||
layout: page
|
||||
title: "Command line"
|
||||
description: "Instructions how to add command line notifications to Home Assistant."
|
||||
date: 2016-02-22 20:00
|
||||
sidebar: true
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
ha_category: Notifications
|
||||
---
|
||||
|
||||
|
||||
The `command_line` platform allows you to use external tools for notifications from Home Assistant.
|
||||
|
||||
To enable those notifications in your installation, add the following to your `configuration.yaml` file:
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
notify:
|
||||
name: NOTIFIER_NAME
|
||||
platform: command_line
|
||||
command: "espeak -vmb/mb-us1"
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **name** (*Optional*): Setting the optional parameter `name` allows multiple notifiers to be created. The default value is `notify`. The notifier will bind to the service `notify.NOTIFIER_NAME`.
|
||||
- **command** (*Required*): The action to take.
|
||||
|
||||
To use notifications, please see the [getting started with automation page]({{site_root}}/components/automation/).
|
||||
|
Loading…
x
Reference in New Issue
Block a user