mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-08 18:06:29 +00:00
Update docs for call_service WS API (#1881)
* Update docs for call_service WS API * Update websocket.md
This commit is contained in:
parent
ebe0f574d5
commit
ce381b54bc
@ -368,11 +368,14 @@ The server will indicate with a message indicating that the service is done exec
|
|||||||
"id": "326ef27d19415c60c492fe330945f954",
|
"id": "326ef27d19415c60c492fe330945f954",
|
||||||
"parent_id": null,
|
"parent_id": null,
|
||||||
"user_id": "31ddb597e03147118cf8d2f8fbea5553"
|
"user_id": "31ddb597e03147118cf8d2f8fbea5553"
|
||||||
}
|
},
|
||||||
|
"response": null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The `result` of the call will always include a `response` to account for services that support responses. When a service that doesn't support responses is called, the value of `response` will be `null`.
|
||||||
|
|
||||||
## Fetching states
|
## Fetching states
|
||||||
|
|
||||||
This will get a dump of all the current states in Home Assistant.
|
This will get a dump of all the current states in Home Assistant.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user