mirror of
https://github.com/home-assistant/core.git
synced 2026-09-05 10:05:52 -05:00
Make UpdateFailed translateable (#131098)
This commit is contained in:
@@ -24,6 +24,7 @@ from homeassistant.exceptions import (
|
||||
ConfigEntryAuthFailed,
|
||||
ConfigEntryError,
|
||||
ConfigEntryNotReady,
|
||||
HomeAssistantError,
|
||||
)
|
||||
from homeassistant.util.dt import utcnow
|
||||
|
||||
@@ -43,7 +44,7 @@ _DataUpdateCoordinatorT = TypeVar(
|
||||
)
|
||||
|
||||
|
||||
class UpdateFailed(Exception):
|
||||
class UpdateFailed(HomeAssistantError):
|
||||
"""Raised when an update has failed."""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user