diff --git a/homeassistant/bootstrap.py b/homeassistant/bootstrap.py index dacb4a3bcf7..56d77fdcb26 100644 --- a/homeassistant/bootstrap.py +++ b/homeassistant/bootstrap.py @@ -80,7 +80,8 @@ def from_config_dict(config, hass=None): # Make a copy because we are mutating it. # Convert it to defaultdict so components can always have config dict # Convert values to dictionaries if they are None - config = defaultdict(dict, {key: value or {} for key, value in config.items()}) + config = defaultdict( + dict, {key: value or {} for key, value in config.items()}) # Filter out the repeating and common config section [homeassistant] components = (key for key in config.keys()