Don't try to load resources in safe mode (#103122)

This commit is contained in:
Paul Bottein
2023-10-31 19:25:25 +01:00
committed by GitHub
parent 6433bf4d77
commit 4d475a9758

View File

@@ -62,6 +62,7 @@ async def websocket_lovelace_resources(
if hass.config.safe_mode:
connection.send_result(msg["id"], [])
return
if not resources.loaded:
await resources.async_load()