1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-30 12:14:20 +01:00

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 Franck Nijhof
parent bfae1468d6
commit e097dc02dd
@@ -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()