homeassistant.exceptions
¶
The exceptions used by Home Assistant.
-
exception
homeassistant.exceptions.
ConfigEntryNotReady
[source]¶ Error to indicate that config entry is not ready.
-
exception
homeassistant.exceptions.
HomeAssistantError
[source]¶ General Home Assistant exception occurred.
-
exception
homeassistant.exceptions.
InvalidEntityFormatError
[source]¶ When an invalid formatted entity is encountered.
-
exception
homeassistant.exceptions.
PlatformNotReady
[source]¶ Error to indicate that platform is not ready.
-
exception
homeassistant.exceptions.
ServiceNotFound
(domain: str, service: str)[source]¶ Raised when a service is not found.
-
exception
homeassistant.exceptions.
TemplateError
(exception: Exception)[source]¶ Error during template rendering.
When an action is unauthorized.
-
exception
homeassistant.exceptions.
UnknownUser
(context: Optional[Context] = None, user_id: Optional[str] = None, entity_id: Optional[str] = None, config_entry_id: Optional[str] = None, perm_category: Optional[str] = None, permission: Optional[str] = None)[source]¶ When call is made with user ID that doesn’t exist.