Site updated at 2016-11-23 09:27:21 UTC

This commit is contained in:
Travis CI 2016-11-23 09:27:21 +00:00
parent 1d3228b9ca
commit f198674d09
100 changed files with 139 additions and 139 deletions

View file

@ -98,7 +98,7 @@
<p>Dont forget to invite the bot to the room where you want to get the notifications.</p>
<p>To enable the slack notification in your installation, add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<p>To enable the Slack notification in your installation, add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">notify</span><span class="pi">:</span>
@ -113,10 +113,10 @@
<ul>
<li><strong>name</strong> (<em>Optional</em>): Setting the optional parameter <code class="highlighter-rouge">name</code> allows multiple notifiers to be created. The default value is <code class="highlighter-rouge">notify</code>. The notifier will bind to the service <code class="highlighter-rouge">notify.NOTIFIER_NAME</code>.</li>
<li><strong>api_key</strong> (<em>Required</em>): The slack API token to use for sending slack messages.</li>
<li><strong>api_key</strong> (<em>Required</em>): The Slack API token to use for sending Slack messages.</li>
<li><strong>default_channel</strong> (<em>Required</em>): The default channel to post to if no channel is explicitly specified when sending the notification message.</li>
<li><strong>username</strong> (<em>Optional</em>): Setting username will allow homeassistant to post to slack using the username specified. By default not setting this will post to slack using the user account or botname that you generated the api_key as.</li>
<li><strong>icon</strong> (<em>Optional</em>): Use one of the slack emojis as an Icon for the supplied username. Slack uses the standard emoji sets used <a href="http://www.webpagefx.com/tools/emoji-cheat-sheet/">here</a>.</li>
<li><strong>username</strong> (<em>Optional</em>): Setting username will allow Home Assistant to post to Slack using the username specified. By default not setting this will post to Slack using the user account or botname that you generated the api_key as.</li>
<li><strong>icon</strong> (<em>Optional</em>): Use one of the Slack emojis as an Icon for the supplied username. Slack uses the standard emoji sets used <a href="http://www.webpagefx.com/tools/emoji-cheat-sheet/">here</a>.</li>
</ul>
<p>To use notifications, please see the <a href="/getting-started/automation/">getting started with automation page</a>.</p>