From c80b752d0e3db93b35cc8d203b1ed98e2b5a9c95 Mon Sep 17 00:00:00 2001 From: Boyi C Date: Fri, 4 May 2018 18:29:07 +0800 Subject: [PATCH] fix check config not working after #14211 (#14259) --- homeassistant/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/config.py b/homeassistant/config.py index d69704a7032..5c432490f6a 100644 --- a/homeassistant/config.py +++ b/homeassistant/config.py @@ -687,7 +687,7 @@ async def async_check_ha_config_file(hass): from homeassistant.scripts.check_config import check_ha_config_file res = await hass.async_add_job( - check_ha_config_file, hass.config.config_dir) + check_ha_config_file, hass) if not res.errors: return None