|
| web.Response | post (self, web.Request request, str domain, str service) |
| |
|
| string | name = "api:domain-services" |
| |
| string | url = "/api/services/{domain}/{service}" |
| |
View to handle DomainServices requests.
Definition at line 370 of file __init__.py.
◆ post()
| web.Response homeassistant.components.api.APIDomainServicesView.post |
( |
|
self, |
|
|
web.Request |
request, |
|
|
str |
domain, |
|
|
str
|
service |
|
) |
| |
Call a service.
Returns a list of changed states.
Definition at line 376 of file __init__.py.
◆ name
| string homeassistant.components.api.APIDomainServicesView.name = "api:domain-services" |
|
static |
◆ url
| string homeassistant.components.api.APIDomainServicesView.url = "/api/services/{domain}/{service}" |
|
static |
The documentation for this class was generated from the following file: