Sortable List Card

Overview

A generic drag-and-drop reorderable list for Home Assistant. Drag rows (or use the arrows) to reorder, and the new order is saved by calling any service you configure.

HACS customYAML & UI editorAny service

Sortable List Card turns a plain list of items into an interactive, reorderable list. Each reorder is persisted through a service call of your choosing — by default it writes a comma-separated value to an input_text helper, but you can point it at a script, a number, or any other service.

It's deliberately use-case agnostic. The order is stored as a list of keys, and what those keys mean is entirely up to you and your automations.

What can you build with it?

A few things people use a reorderable, persisted list for:

  • HEMS load priority — order battery, EV charger, heating, hot water… so your energy-management automations know which load gets surplus solar first. This is the card's original use case.
  • Device / room ordering — let users arrange entity-backed rows (lights, rooms, zones) and feed that order into another dashboard or template.
  • Priority / triage lists — chores, a shopping list, a project backlog, or any “most important first” ranking.
  • Scene / automation sequencing — decide the order scenes are applied or notifications are sent.
  • Playlists & queues — a simple, persisted play order that a media automation consumes.

Highlights

  • Drag-and-drop reordering with a live drop indicator
  • Up/down arrow buttons for precise, accessible reordering
  • Persist via any service with {value} placeholders
  • CSV or JSON value formats
  • Entity-backed items (name / icon / state) with overrides
  • Optimistic updates, plus a full UI editor

What's in this section

Installation
HACS custom repository or manual install.
Configuration
Every option, with defaults and types.
Examples
Copy-pastable configs, including the HEMS list.

Source & releases

The card is distributed via flixlix/sortable-list-card, but the source code lives in the monorepo at flixlix/flixlix-cards. Issues and feature requests are tracked there.

View source on GitHub