mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Improve validation of device trigger config (#26910)
* Improve validation of device trigger config * Remove action and condition checks * Move config validation to own file * Fix tests * Fixes * Fixes * Small tweak
This commit is contained in:
@@ -307,7 +307,7 @@ class IntegrationNotFound(LoaderError):
|
||||
|
||||
def __init__(self, domain: str) -> None:
|
||||
"""Initialize a component not found error."""
|
||||
super().__init__(f"Integration {domain} not found.")
|
||||
super().__init__(f"Integration '{domain}' not found.")
|
||||
self.domain = domain
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user