Update scripts-service-calls.markdown (#546)
Added info on how to use the Services Developer Tool
This commit is contained in:
parent
322b1e4469
commit
289e5457ae
1 changed files with 11 additions and 0 deletions
|
@ -54,6 +54,17 @@ service_template: >
|
|||
entity_id: switch.ac
|
||||
```
|
||||
|
||||
### {% linkable_title Using the Services Developer Tool %}
|
||||
|
||||
You can use the Services Developer Tool to test data to pass in a service call.
|
||||
For example, you may test turning on or off a 'group' (See [groups] for more info)
|
||||
|
||||
To turn a group on or off, pass the following info:
|
||||
Domain: `homeassistant`
|
||||
Service: `turn_on`
|
||||
Service Data: `{ "entity_id": "group.kitchen" }`
|
||||
|
||||
|
||||
### {% linkable_title Use templates to determine the attributes %}
|
||||
|
||||
Templates can also be used for the data that you pass to the service call.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue