Help with "Lovelace YAML configuration needs update"

So, since updating to 2026.02.1 yesterday I get the above message, with further info as:

"Your YAML dashboard configuration uses the legacy mode: yaml option, which will be removed in Home Assistant 2026.8. Your YAML dashboards will continue to work, you just need to update how they are defined.

To update your configuration:

1. Remove mode: yaml from lovelace: in your configuration.yaml
2. Add a dashboard entry instead:

lovelace:
  resource_mode: yaml
  dashboards:
    lovelace:
      mode: yaml
      filename: ui-lovelace.yaml
      title: Overview
      icon: mdi:view-dashboard
      show_in_sidebar: true

However I am unsure how to transform my current config. Here is how it looks:

lovelace:
  mode: yaml
  #
  # Add-On for lovelace
  #
  resources:
    - url: /local/content-card-example.js
      type: module
    - url: /local/battery-state-card.js
      type: module
    - url: /local/apexcharts-card.js?v=2.0.1
      type: module
    - url: /local/community/mini-graph-card/mini-graph-card-bundle.js?v=0.11.0
      type: module

…and some more.

I understand that I need to change

lovelace:
  mode: yaml

to

lovelace:
  resource_mode: yaml

…but what do I do with the resources: and the modules?

1 Like

Nothing :wink:

2 Likes

No help, Chris.
I’m in a similar boat: I can’t restart like this.

So with some spacing I got it to get restarted, however…

And My overview dashboard is -gone-. Just says New Space. It did this after the update, so not new. What do I need to fix?

1 Like

Chris is correct, you don’t touch them. I e do nothing with the resources, leave them as is

After you make the change to a configured yaml dashboard, you go in the ui and set it as the default dashboard

Thanks for the clarifications.

As a follow up, it also says " Note: resource_mode: yaml keeps loading resources from YAML. If you want to manage resources through the UI instead, you can remove this line and move your resources to Settings > Dashboards > Resources."

Does this mean I can remove the complete list of resources (modules installed using HACS mainly I guess) completely and they will somehow show up in the GUI? Or will I need to take some more manual action?

You have to copy/paste each one into the UI resources area. That’s what I ended up doing.

It used to be that you couldn’t manage resources in the UI if you had a yaml dashboard, but with this change, you now can.

IIRC, you manage the UI resources in Settings → Dashboards → 3 dot menu → resources

1 Like

Some feedback by someone who is only about 10 days into real use of HA:

This little description that showed up in notices or wherever it was was wildly, woefully underexplained and makes me fear for my decision to embrace Home Assistant.

Configuring dashboards in YAML is an advanced topic.
It is of no concern for people using the Webui

That’s ridiculous. I’ve barely touched my YAML and 2026.2 broke my dashboard.

Are you sure it just didn’t change your dashboard to the new default dashboard?

I am entirely certain of it. UNLESS the copy paste instructions did it.

what copy paste instructions? Out of the box, HA only has default dashboards. Which are all auto-generated without any user action required. You would not get the repair notice unless you modified those.

If you got a repair message, that means you added something to a very old file ui-lovelace.yaml while simultaneously using mode: yaml in your lovelace configuration.

So it turns out this is a lie, your setup is from 2023 at least. Please, if you want help in the future, actually disclose correct information instead of using FUD statements to draw attention.

I’ve got some custom dashboards through HACS. But along with those, the default overview dashboard broke.

Look, you’re running an old configuration and you need to update it to get your dashboard back. It takes a few minutes, but because you haven’t provided any information on your current setup, none of us can help.

That’s where we are at.

Here’s my entire config. I’d be happy to give any info needed, but dam if I know half of what people are talking about/asking about.


# Loads default set of integrations. Do not remove.
default_config:

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

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


device_tracker:
  - platform: luci
    host: 192.168.10.1
    username: REDACTED
    password: REDACTED
    interval_seconds: 10
    consider_home: 180
    new_device_defaults:
      track_new_devices: true
      
#added stuff

#lovelace:
#  mode: yaml
#  resources:
#    - url: /hacsfiles/lovelace-thermostat-pro-timeline/thermostat-pro-timeline.js
#      type: module

lovelace:
  resource_mode: yaml

I don’t even know if this is what you need. Yes I know that thermostat card is commented out. Because it didn’t work.

The dashboard I’m trying to get to work now is the Apple Home Strategy. Its instructions say to do

strategy:
  type: custom:apple-home-strategy
views: []

But that doesn’t work.

Well, you didn’t read the repair and follow the directions.

lovelace:
  resource_mode: yaml
  resources:
    - url: /hacsfiles/lovelace-thermostat-pro-timeline/thermostat-pro-timeline.js
      type: module
  dashboards:
    lovelace:
      mode: yaml
      filename: ui-lovelace.yaml
      title: Overview
      icon: mdi:view-dashboard
      show_in_sidebar: true

After restarting with that configuration, you’ll need to go into settings → dashboard and set your new Overview page as the default through the 3 dot menu on the dashboard.