Horseshoe markers¶
A Horseshoe can show the current entity value in several ways. The progress path shows how far the value has moved across the scale. A marker is a small shape or icon that marks the exact current position. It moves when the value changes.
This page shows how to add a marker, show it with or without the progress path, move it inward or outward, change its shape or icon, and use a pointer from the center of a circular Horseshoe.
Show a marker on the path¶
A path marker is useful when the exact current position should remain visible even if the progress path itself is subtle or hidden.
Show progress and a marker together¶
Leave state progress enabled and enable the marker as well:
Move the marker away from the path¶
Use offset to move a path marker relative to the Horseshoe radius. offset: 0 places the marker on the path. A positive value moves it outward, farther from the center; a negative value moves it inward, closer to the center.
Change the marker shape¶
Use a circle or triangle:
icon instead of shape when the marker should be an icon. Do not configure both for the same marker. Point to the value from the center¶
A center marker points from the middle of an arc toward the current value:
Move the start and end of a center pointer¶
For a center marker, start_offset changes where the pointer starts and end_offset changes where it stops. Positive offsets move outward from the center; negative offsets move inward.
end_offset when the pointer should extend beyond the Horseshoe path instead. Configuration options¶
A marker can sit on the Horseshoe path or act as a pointer from the center. Keep those two uses separate: a path marker can use a simple shape or icon, while a center pointer requires an icon and an arc path.
Marker on the path¶
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
attach_to | path | No | path | Keeps the marker on the current-value position of the Horseshoe path. |
shape | circle, triangle | No | circle when no icon is configured | circle draws a round marker; triangle draws a directional triangular marker. Do not set this together with icon. |
icon | string | No | Not set | Uses a Home Assistant icon or url(...) instead of shape. |
offset | number | No | 0 | Moves the marker relative to the path: 0 = on the path, positive = outward, negative = inward. |
size | number | No | horseshoe_state.width | Sets the path-marker size; for a circle this is the diameter. |
Pointer from the center¶
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
attach_to | center | Yes | — | Set to center. This form requires path.type: arc. |
icon | string | Yes | — | Icon used as the center pointer. A center pointer does not use shape. |
start_offset | number | No | 0 | Changes where the pointer starts: positive starts farther from the center, negative starts behind the center. |
end_offset | number | No | 0 | Changes where the pointer ends: negative stops before the Horseshoe path, positive extends beyond it. |
Options for both marker forms¶
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
aspectratio | number | No | 1 | Width/height ratio for icon or triangle markers. For a center pointer, the offsets determine its length and aspectratio determines its width. |
rotate | number | No | 0 | Rotates the marker/icon in degrees when its visual direction needs correction. |
styles | mapping | No | Current horseshoe_state appearance | Overrides marker fill, stroke, opacity, and other SVG/CSS appearance. |