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
- Open HACS → three-dot menu → Custom repositories
- Add
https://github.com/3ative/lovelace-xiaomi-vacuum-card with category Dashboard
- Search for Xiaomi Vacuum Card and install
- 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.
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-menuandmwc-list-itemelements thatrenderDropdown()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
https://github.com/3ative/lovelace-xiaomi-vacuum-cardwith category DashboardAll other functionality and configuration options remain unchanged from v4.5.0.