Move core config functionality to its own module (#129065)

* Move core config functionality to its own module

* Adjust test
This commit is contained in:
Erik Montnemery
2024-10-24 13:34:51 +02:00
committed by GitHub
parent cd4aa8ccd6
commit 3e62c6ae2f
53 changed files with 1308 additions and 1284 deletions

View File

@@ -127,7 +127,7 @@ async def test_reload_core_conf(hass: HomeAssistant) -> None:
@patch("homeassistant.config.os.path.isfile", Mock(return_value=True))
@patch("homeassistant.components.homeassistant._LOGGER.error")
@patch("homeassistant.config.async_process_ha_core_config")
@patch("homeassistant.core_config.async_process_ha_core_config")
async def test_reload_core_with_wrong_conf(
mock_process, mock_error, hass: HomeAssistant
) -> None: