MCPcopy
hub / github.com/hacs/integration / HomeAssistantCoreRepositoryException

Class HomeAssistantCoreRepositoryException

custom_components/hacs/exceptions.py:40–49  ·  view source on GitHub ↗

Exception to raise when user tries to add the home-assistant/core repository.

Source from the content-addressed store, hash-verified

38
39
40class HomeAssistantCoreRepositoryException(HacsException):
41 """Exception to raise when user tries to add the home-assistant/core repository."""
42
43 exception_message = (
44 "You can not add homeassistant/core, to use core integrations "
45 "check the Home Assistant documentation for how to add them."
46 )
47
48 def __init__(self) -> None:
49 super().__init__(self.exception_message)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…