mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 20:40:18 +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:
@@ -44,7 +44,7 @@ async def mock_yaml_dashboard(hass):
|
||||
)
|
||||
|
||||
with patch(
|
||||
"homeassistant.components.lovelace.dashboard.load_yaml",
|
||||
"homeassistant.components.lovelace.dashboard.load_yaml_dict",
|
||||
return_value={
|
||||
"title": "YAML Title",
|
||||
"views": [
|
||||
|
||||
Reference in New Issue
Block a user