From 1fe46734256f8f53f13f84b1dc4c2647a0f0a428 Mon Sep 17 00:00:00 2001 From: Boyi C Date: Thu, 3 May 2018 12:26:55 +0800 Subject: [PATCH] fix check config not working after #14211 --- homeassistant/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/config.py b/homeassistant/config.py index d69704a70328da..5c432490f6aacd 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