Small cleanup in async_process_ha_core_config (#33583)

This commit is contained in:
Erik Montnemery 2020-04-03 18:44:20 +02:00 committed by GitHub
parent b8e9e3af2f
commit 3a74066529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -473,7 +473,6 @@ async def async_process_ha_core_config(hass: HomeAssistant, config: Dict) -> Non
hac = hass.config hac = hass.config
if any( if any(
[
k in config k in config
for k in [ for k in [
CONF_LATITUDE, CONF_LATITUDE,
@ -483,7 +482,6 @@ async def async_process_ha_core_config(hass: HomeAssistant, config: Dict) -> Non
CONF_TIME_ZONE, CONF_TIME_ZONE,
CONF_UNIT_SYSTEM, CONF_UNIT_SYSTEM,
] ]
]
): ):
hac.config_source = SOURCE_YAML hac.config_source = SOURCE_YAML