Skip to content

[Bug]: card-mod fails to load in Home Assistant 2026.2.0 #571

Description

@dcapslock

My Home Assistant Version

Core: 2026.2.0b0
Card-mod: 4.2.0-beta.6

My lovelace configuration method

GUI

What I am doing

card-mod with theme which includes yaml config e.g. card-mod-card-yaml:

What I expect to happen

card-mod loads

What happened instead

card-mod does not load

Minimal steps to reproduce

  1. Theme with any -yaml card-mod element

...

Include any yaml code here

Error messages from the browser console

Uncaught (in promise) TypeError: t.routerOptions.routes.tmp.load is not a function
    at card-mod.js?hacstag=97526870936031:1:52931
    at d (card-mod.js?hacstag=97526870936031:1:6540)
    at Generator.<anonymous> (card-mod.js?hacstag=97526870936031:1:7886)
    at Generator.next (card-mod.js?hacstag=97526870936031:1:6969)
    at j (card-mod.js?hacstag=97526870936031:1:12685)
    at a (card-mod.js?hacstag=97526870936031:1:12888)

By checking each box below I indicate that I ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    beta release availableIssue fixed in a beta release which is available for testing.bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions