221 files

This commit is contained in:
Home Assistant Version Control committed 2026-10-10 15:24:58 +00:00
1 parent ae12b88c7d
commit bfafb4c28a
221 files changed
+73725 -3277

No files matched your search

@@ -12,7 +12,7 @@ from homeassistant.const import RESTART_EXIT_CODE
from homeassistant.exceptions import HomeAssistantError
from homeassistant.helpers import config_validation as cv
from ....const import LOGGER
from ....const import DOMAIN as SPOOK_DOMAIN, LOGGER
from ....services import AbstractSpookAdminService, ReplaceExistingService
if TYPE_CHECKING:
@@ -42,9 +42,9 @@ class SpookService(AbstractSpookAdminService, ReplaceExistingService):
return
if not self.overriden_service:
msg = "Spook encountered an error while restarting Home Assistant."
raise HomeAssistantError(
msg,
translation_domain=SPOOK_DOMAIN,
translation_key="restart_failed",
)
# Waited on, the way calling Home Assistant's own restart is. It