Don't try to load resources in safe mode (#103122)
This commit is contained in:
parent
6433bf4d77
commit
4d475a9758
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue