Home Assistant Unofficial Reference 2024.12.1
homeassistant.exceptions.ServiceNotFound Class Reference
Inheritance diagram for homeassistant.exceptions.ServiceNotFound:
[legend]
Collaboration diagram for homeassistant.exceptions.ServiceNotFound:
[legend]

Public Member Functions

None __init__ (self, str domain, str service)
 
- Public Member Functions inherited from homeassistant.exceptions.HomeAssistantError
None __init__ (self, *object args, str|None translation_domain=None, str|None translation_key=None, dict[str, str]|None translation_placeholders=None)
 
str __str__ (self)
 

Public Attributes

 domain
 
 generate_message
 
 service
 
- Public Attributes inherited from homeassistant.exceptions.HomeAssistantError
 generate_message
 
 translation_domain
 
 translation_key
 
 translation_placeholders
 

Additional Inherited Members

- Static Public Attributes inherited from homeassistant.exceptions.HomeAssistantError
 bool
 
 None
 

Detailed Description

Raised when a service is not found.

Definition at line 258 of file exceptions.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.exceptions.ServiceNotFound.__init__ (   self,
str  domain,
str  service 
)
Initialize error.

Definition at line 261 of file exceptions.py.

Member Data Documentation

◆ domain

homeassistant.exceptions.ServiceNotFound.domain

Definition at line 268 of file exceptions.py.

◆ generate_message

homeassistant.exceptions.ServiceNotFound.generate_message

Definition at line 270 of file exceptions.py.

◆ service

homeassistant.exceptions.ServiceNotFound.service

Definition at line 269 of file exceptions.py.


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