Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.api.APIDomainServicesView Class Reference
Inheritance diagram for homeassistant.components.api.APIDomainServicesView:
[legend]
Collaboration diagram for homeassistant.components.api.APIDomainServicesView:
[legend]

Public Member Functions

web.Response post (self, web.Request request, str domain, str service)
 

Static Public Attributes

string name = "api:domain-services"
 
string url = "/api/services/{domain}/{service}"
 

Detailed Description

View to handle DomainServices requests.

Definition at line 370 of file __init__.py.

Member Function Documentation

◆ 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.

Member Data Documentation

◆ name

string homeassistant.components.api.APIDomainServicesView.name = "api:domain-services"
static

Definition at line 374 of file __init__.py.

◆ url

string homeassistant.components.api.APIDomainServicesView.url = "/api/services/{domain}/{service}"
static

Definition at line 373 of file __init__.py.


The documentation for this class was generated from the following file: