Skip to content

Fan speed dropdown broken in HA 2026.02+ (MWC components removed) — fixed fork available #129

Description

@3ative

The Problem

As of Home Assistant 2026.02, the fan speed dropdown no longer works. The menu items (e.g. Off, Standard, Boost IQ, Max) are rendered as a permanent flat list instead of a collapsible dropdown menu.

This is because HA's frontend has been migrating away from Material Web Components (MWC), and the mwc-menu and mwc-list-item elements that renderDropdown() relies on are no longer globally registered.

The Fix

I've published a fork that replaces the broken MWC dropdown with a native HTML <select> element. This has zero dependency on HA's internal frontend components, so it won't break again with future updates.

Installation via HACS

  1. Open HACS → three-dot menu → Custom repositories
  2. Add https://github.com/3ative/lovelace-xiaomi-vacuum-card with category Dashboard
  3. Search for Xiaomi Vacuum Card and install
  4. Restart Home Assistant and clear your browser cache

Note: If the dropdown still appears broken after clearing cache, try fully closing and reopening your browser — HA's service worker cache can be persistent.

All other functionality and configuration options remain unchanged from v4.5.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions