mirror of
https://github.com/home-assistant/core.git
synced 2025-10-18 16:19:32 +00:00
Remove logic converting empty or falsy YAML to empty dict (#103912)
* Correct logic converting empty YAML to empty dict * Modify according to github comments * Add load_yaml_dict helper * Update check_config script * Update tests
This commit is contained in:
@@ -1102,7 +1102,7 @@ async def test_reload_automation_when_blueprint_changes(
|
||||
autospec=True,
|
||||
return_value=config,
|
||||
), patch(
|
||||
"homeassistant.components.blueprint.models.yaml.load_yaml",
|
||||
"homeassistant.components.blueprint.models.yaml.load_yaml_dict",
|
||||
autospec=True,
|
||||
return_value=blueprint_config,
|
||||
):
|
||||
|
Reference in New Issue
Block a user