Home Assistant Unofficial Reference 2024.12.1
homeassistant.core.ServiceCall Class Reference

Public Member Functions

None __init__ (self, str domain, str service, dict[str, Any]|None data=None, Context|None context=None, bool return_response=False)
 
str __repr__ (self)
 

Public Attributes

 context
 
 data
 
 domain
 
 return_response
 
 service
 

Static Private Attributes

 __slots__
 

Detailed Description

Representation of a call to a service.

Definition at line 2441 of file core.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.core.ServiceCall.__init__ (   self,
str  domain,
str  service,
dict[str, Any] | None   data = None,
Context | None   context = None,
bool   return_response = False 
)
Initialize a service call.

Definition at line 2446 of file core.py.

Member Function Documentation

◆ __repr__()

str homeassistant.core.ServiceCall.__repr__ (   self)
Return the representation of the service.

Definition at line 2461 of file core.py.

Member Data Documentation

◆ __slots__

homeassistant.core.ServiceCall.__slots__
staticprivate

Definition at line 2444 of file core.py.

◆ context

homeassistant.core.ServiceCall.context

Definition at line 2458 of file core.py.

◆ data

homeassistant.core.ServiceCall.data

Definition at line 2457 of file core.py.

◆ domain

homeassistant.core.ServiceCall.domain

Definition at line 2455 of file core.py.

◆ return_response

homeassistant.core.ServiceCall.return_response

Definition at line 2459 of file core.py.

◆ service

homeassistant.core.ServiceCall.service

Definition at line 2456 of file core.py.


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