Site updated at 2016-06-10 04:42:30 UTC
This commit is contained in:
parent
944d685b5b
commit
2539b4a375
21 changed files with 35 additions and 25 deletions
|
@ -140,6 +140,16 @@ Use the <img src="/images/screenshots/developer-tool-services-icon.png" class="n
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a class="title-link" name="using-the-services-developer-tool" href="#using-the-services-developer-tool"></a> Using the Services Developer Tool</h3>
|
||||
|
||||
<p>You can use the Services Developer Tool to test data to pass in a service call.<br />
|
||||
For example, you may test turning on or off a ‘group’ (See [groups] for more info)</p>
|
||||
|
||||
<p>To turn a group on or off, pass the following info:<br />
|
||||
Domain: <code>homeassistant</code><br />
|
||||
Service: <code>turn_on</code><br />
|
||||
Service Data: <code>{ "entity_id": "group.kitchen" }</code></p>
|
||||
|
||||
<h3><a class="title-link" name="use-templates-to-determine-the-attributes" href="#use-templates-to-determine-the-attributes"></a> Use templates to determine the attributes</h3>
|
||||
|
||||
<p>Templates can also be used for the data that you pass to the service call.</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue