mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 04:35:11 +02:00
Don't try to load resources in safe mode (#103122)
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user