Screenshots From the README of thomasloven/lovelace-state-switch.
About
state-switch is a dashboard card that swaps one Lovelace card for another depending on a matched state. The choice can follow an entity state, the URL hash, the logged-in user's display name, or whether the user is an administrator. It can also match on the device and browser combination, a CSS media query, or the result of a Jinja template. A default card is shown when no state matches. Changes between cards can be animated with slide, swap or flip transitions, and the duration is set in milliseconds. The card file is added as a module, and it needs the Marketplace, or HACS on 2026.10 and older.
Automatic summary of the README of thomasloven/lovelace-state-switch. Something wrong, or are you the maintainer and want your own text here? Get in touch
Supports
From the Marketplace Installed through the Marketplace, formerly HACS.
Setting it up
Install it from the Marketplace, then add a card of this type to a dashboard.
From the README
Dynamically replace lovelace cards depending on occasion.
Note in the animation above that the two browser windows have two different users logged in, which changes the rightmost card.
Information
- GitHub stars
- 479
- Upkeep
- No update in 6 to 18 months
- Version
- 1.9.6,
- Kind
- Dashboard card
- Needs
- Needs the Marketplace (HACS on 2026.10 and older)
- Issues
- Report an issue










