Fetch ServiceNotFound message from translation cache (#113893)

This commit is contained in:
Jan Bouwhuis
2024-03-21 06:54:29 +01:00
committed by GitHub
parent 8edbf88da1
commit dc38d152df
2 changed files with 11 additions and 2 deletions

View File

@@ -261,7 +261,6 @@ class ServiceNotFound(HomeAssistantError):
"""Initialize error."""
super().__init__(
self,
f"Service {domain}.{service} not found.",
translation_domain="homeassistant",
translation_key="service_not_found",
translation_placeholders={"domain": domain, "service": service},