Make UpdateFailed translateable (#131098)
parent
786b779a68
commit
e2183a81aa
homeassistant/helpers
|
@ -24,6 +24,7 @@ from homeassistant.exceptions import (
|
||||||
ConfigEntryAuthFailed,
|
ConfigEntryAuthFailed,
|
||||||
ConfigEntryError,
|
ConfigEntryError,
|
||||||
ConfigEntryNotReady,
|
ConfigEntryNotReady,
|
||||||
|
HomeAssistantError,
|
||||||
)
|
)
|
||||||
from homeassistant.util.dt import utcnow
|
from homeassistant.util.dt import utcnow
|
||||||
|
|
||||||
|
@ -43,7 +44,7 @@ _DataUpdateCoordinatorT = TypeVar(
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class UpdateFailed(Exception):
|
class UpdateFailed(HomeAssistantError):
|
||||||
"""Raised when an update has failed."""
|
"""Raised when an update has failed."""
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue