Add note about return_response to example of calling a service via the WS API (#2156)

This commit is contained in:
Andy Castille 2024-04-26 01:13:31 -07:00 committed by GitHub
parent b128985b2d
commit 3b56f583a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -353,6 +353,8 @@ This will call a service in Home Assistant. Right now there is no return value.
"target": {
"entity_id": "light.kitchen"
}
// Must be included for services that return response data
"return_response": true
}
```