YAML VS. Lovelace

Hey! I am trying to install a vacuum card from HACS through Github but every time I try to update resources it says “You are using your dashboard in YAML mode, therefore you cannot manage your resources through the UI. Manage them in configuration.yaml.” should I switch my dashboard to Lovelace and if so how? please help!

Delete this from your configuration.yaml file:


lovelace:
  mode: yaml

Then restart home assistant (not reboot).

1 Like


which one? the one under config edition or dashboard?

Please don’t post pictures of text. Copy and paste the text into a post, formatted correctly, so I can edit it for you.

sorry I didn’t know

default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

# Text to speech
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 127.0.0.1
    - 10.7.0.0/16
    - ::1
config_editor:

lovelace:
  mode: yaml
  resources:
    - url: /local/config-editor-card.js
      type: module

  dashboards:
    lovelace-yaml:
      mode: yaml
      title: Config Editor
      icon: mdi:cog
      show_in_sidebar: true
      filename: /config/view.yaml

That’s fine, now you do. The rest of the FAQ is worth reading too.

So on to your problem, delete all of this:

lovelace:
  mode: yaml
  resources:
    - url: /local/config-editor-card.js
      type: module

  dashboards:
    lovelace-yaml:
      mode: yaml
      title: Config Editor
      icon: mdi:cog
      show_in_sidebar: true
      filename: /config/view.yaml

Restart, then add the Config Editor back using HACS.