From eeb483dc27339b4f6cf420ef4c78d827eb30412d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Wed, 7 Aug 2019 12:56:04 +0200 Subject: [PATCH] Tell Home Assistant that setup was successful --- custom_components/lovelace_gen/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/custom_components/lovelace_gen/__init__.py b/custom_components/lovelace_gen/__init__.py index 3b5cc73..2e705fa 100644 --- a/custom_components/lovelace_gen/__init__.py +++ b/custom_components/lovelace_gen/__init__.py @@ -54,3 +54,6 @@ def _uncache_file(ldr, node): loader.load_yaml = load_yaml loader.yaml.SafeLoader.add_constructor("!include", _include_yaml) loader.yaml.SafeLoader.add_constructor("!file", _uncache_file) + +async def async_setup(*_): + return True