Warning: Lovelace is running in storage mode. Define resources via user interface

After adding a new lovelace card via HACS I get the above warning in my logs.

configuration.yaml snippet-

# Example configuration.yaml entry
media_source:
#frigate lovelace card
lovelace:
  resources:
    - url: /hacsfiles/frigate-hass-card/frigate-hass-card.js
      type: module

I followed the installation instructions here. Not sure if some further configuration is required?

I think maybe I’ve gotten this corrected. Made a small change to the lovelace entry in configuration.yaml-

lovelace:
  mode: yaml
  resources:
    - url: /hacsfiles/frigate-hass-card/frigate-hass-card.js
      type: module

The warning is gone from the logs but would really appreciate if someone would confirm that there’s nothing else needed.

Thanks

Yes - without that it will ignore the file as the default is to use the UI.

Thanks. I had found an online article that outlined creating ui-lovelace.yaml and editing .storage/lovelace_resources but I was reluctant to start changing formats of hidden files.

I ran into exactly this in this thread:

My problem was basically that I had started using Home Assistant before Lovelace and the early iterations of Lovelace were configured in ui-lovelace.yaml. Deleting that file let me just use the Lovelace UI.

There is probably more to it than that- read the whole thread.

1 Like

I’ve seen this error in my log a few times.
I’m new to HA and confused.
I have one HACS card installed, that is numbercard-box
I have the following (and only lovelace entry) in my configuration.yaml:
lovelace:
resources:
- url: /hacsfiles/numberbox-card/numberbox-card.js
type: module

should that be modified in some way?

1 Like