Default legacy templates to true (#42511)

* Default legacy templates to true

* Disable legacy_templates in tests

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Paulus SchoutsenandFranck Nijhof authored and GitHub committed 2020-10-28 16:58:16 +01:00
1 parent 94219c2266
commit 21e9e7c5c2
3 files changed
+113 -88

No files matched your search

+1
View File
@@ -207,6 +207,7 @@ async def async_test_home_assistant(loop):
hass.config.units = METRIC_SYSTEM
hass.config.media_dirs = {"local": get_test_config_dir("media")}
hass.config.skip_pip = True
hass.config.legacy_templates = False
hass.config_entries = config_entries.ConfigEntries(hass, {})
hass.config_entries._entries = []