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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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},