mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Fixed style error, a line was too long
This commit is contained in:
parent
461e0d0314
commit
1206c2113c
@ -80,7 +80,8 @@ def from_config_dict(config, hass=None):
|
|||||||
# Make a copy because we are mutating it.
|
# Make a copy because we are mutating it.
|
||||||
# Convert it to defaultdict so components can always have config dict
|
# Convert it to defaultdict so components can always have config dict
|
||||||
# Convert values to dictionaries if they are None
|
# 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]
|
# Filter out the repeating and common config section [homeassistant]
|
||||||
components = (key for key in config.keys()
|
components = (key for key in config.keys()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user