mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Small cleanup in async_process_ha_core_config (#33583)
This commit is contained in:
parent
b8e9e3af2f
commit
3a74066529
@ -473,16 +473,14 @@ 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,
|
CONF_LONGITUDE,
|
||||||
CONF_LONGITUDE,
|
CONF_NAME,
|
||||||
CONF_NAME,
|
CONF_ELEVATION,
|
||||||
CONF_ELEVATION,
|
CONF_TIME_ZONE,
|
||||||
CONF_TIME_ZONE,
|
CONF_UNIT_SYSTEM,
|
||||||
CONF_UNIT_SYSTEM,
|
|
||||||
]
|
|
||||||
]
|
]
|
||||||
):
|
):
|
||||||
hac.config_source = SOURCE_YAML
|
hac.config_source = SOURCE_YAML
|
||||||
|
Loading…
x
Reference in New Issue
Block a user