Skip to content

Commit

Permalink
Fix cast dashboard in media browser (#114924)
Browse files Browse the repository at this point in the history
  • Loading branch information
joostlek authored and frenck committed Apr 5, 2024
1 parent ed3daed commit 9937743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/lovelace/cast.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ async def _get_dashboard_info(hass, url_path):
"views": views,
}

if config is None:
if config is None or "views" not in config:
return data

for idx, view in enumerate(config["views"]):
Expand Down

0 comments on commit 9937743

Please sign in to comment.