mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-14 04:46:29 +00:00
Add note about return_response to example of calling a service via the WS API (#2156)
This commit is contained in:
parent
b128985b2d
commit
3b56f583a4
@ -353,6 +353,8 @@ This will call a service in Home Assistant. Right now there is no return value.
|
|||||||
"target": {
|
"target": {
|
||||||
"entity_id": "light.kitchen"
|
"entity_id": "light.kitchen"
|
||||||
}
|
}
|
||||||
|
// Must be included for services that return response data
|
||||||
|
"return_response": true
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user