Site updated at 2016-10-05 08:21:01 UTC

This commit is contained in:
Travis CI 2016-10-05 08:21:01 +00:00
parent 49c4f8ac8a
commit b3be06b487
29 changed files with 43 additions and 43 deletions

View file

@ -267,7 +267,7 @@ Home Assistant will automatically load the correct certificate if you connect to
<h3><a class="title-link" name="publish-service" href="#publish-service"></a> Publish service</h3>
<p>The MQTT component will register the service <code class="highlighter-rouge">publish</code> which allows publishing messages to MQTT topics. There are two ways of specifiying your payload. You can either use <code class="highlighter-rouge">payload</code> to hard-code a payload or use <code class="highlighter-rouge">payload_template</code> to specify a <a href="/topics/templating/">template</a> that will be rendered to generate the payload.</p>
<p>The MQTT component will register the service <code class="highlighter-rouge">publish</code> which allows publishing messages to MQTT topics. There are two ways of specifying your payload. You can either use <code class="highlighter-rouge">payload</code> to hard-code a payload or use <code class="highlighter-rouge">payload_template</code> to specify a <a href="/topics/templating/">template</a> that will be rendered to generate the payload.</p>
<div class="language-json highlighter-rouge"><pre class="highlight"><code><span class="p">{</span><span class="w">
</span><span class="nt">"topic"</span><span class="p">:</span><span class="w"> </span><span class="s2">"home-assistant/light/1/command"</span><span class="p">,</span><span class="w">