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:
Erik Montnemery authored and GitHub committed 2019-09-27 17:48:48 +02:00
1 parent 588bc26661
commit e57e7e8449
11 files changed
+210 -31

No files matched your search

+1 -1
View File
@@ -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