Card overview¶
The Flexible Horseshoe Card is a highly customizable Home Assistant card for visualizing and controlling entity data. It combines values, icons, horseshoes, graphs, labels, and controls in a configurable card with flexible sizing and positioning. Reusable templates make it possible to build consistent cards without repeating the same configuration.
The basic structure¶
| Part | What you configure |
|---|---|
type | Selects the Flexible Horseshoe Card. |
entities | Lists the Home Assistant entities and browser-local inputs used by the card. |
layout | Contains the tools and controls shown on the card. |
Entities¶
Each entity receives an index based on its position in the entities list. Tools use entity_index to select one.
Use slots when a descriptive name is clearer than a number:
See Entities for entity settings, slots, attributes, and formatting.
Layout tools¶
Tools are grouped by what they show:
- entity tools show a state, name, area, or icon;
- shapes add lines, circles, arcs, rectangles, and text;
- horseshoes show a value on a scale;
- sparklines show history;
- controls let someone change a value or run an action.
See Card tools to choose the right tool.
Card size¶
layout.aspectratio sets the shape of the card:
The first number is the width and the second is the height.