mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Don't try to load resources in safe mode (#103122)
This commit is contained in:
parent
6433bf4d77
commit
4d475a9758
@ -62,6 +62,7 @@ async def websocket_lovelace_resources(
|
|||||||
|
|
||||||
if hass.config.safe_mode:
|
if hass.config.safe_mode:
|
||||||
connection.send_result(msg["id"], [])
|
connection.send_result(msg["id"], [])
|
||||||
|
return
|
||||||
|
|
||||||
if not resources.loaded:
|
if not resources.loaded:
|
||||||
await resources.async_load()
|
await resources.async_load()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user