Make UpdateFailed translateable (#131098)

pull/131146/head
Josef Zweck 2024-11-22 09:37:35 +01:00 committed by GitHub
parent 786b779a68
commit e2183a81aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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."""