Multi Trend Card Pro
custom:multi-trend-card-pro draws one or more sensors as smooth lines in a tile-style card. Hover or touch the plot for a crosshair that lists every value at that time. It ships with a visual editor.
Basic
The type and a list of sensors with numeric states. The header takes the first entity's name and icon.
Several sensors
Every entity can be an object with a name and a color. Without a color the series take primary, orange, green, purple, cyan and pink in that order. title and icon set the header.
Time window
hours_to_show sets the history window from 1 to 168 hours. The default is 6.
Overlay or lanes
With layout: auto the card overlays all series on one scale when every entity shares a unit, and otherwise gives each entity its own lane. Force either with overlay or lanes.
Axes and legend
x_axis adds time labels with vertical gridlines, y_axis adds value labels with horizontal gridlines (per lane in the lanes layout). Both are off by default to keep the tile calm. show_legend lists the overlaid series under the header; color colours the header icon.
Reference
| Option | Default | Description |
|---|---|---|
entities | List of entity ids or { entity, name, color } (required, sensors with numeric states). Colours default to primary, orange, green, purple, cyan, pink in that order. | |
title | first entity name | Header text. |
icon | entity icon | Header icon: icon, else the first entity's icon, else by device class. |
color | state icon colour | Header icon colour. |
hours_to_show | 6 | History window, 1 to 168 hours. |
layout | auto | auto, overlay or lanes. |
show_legend | true | Legend for overlaid series with two or more entities. |
x_axis | false | Time labels and vertical gridlines. |
y_axis | false | Value labels and horizontal gridlines. |
Tapping the header opens the more-info dialog of the first entity. The default size is 12 columns × 3 rows; the lanes layout uses 2 rows plus one per entity. grid_options, visibility, layout_options, view_layout and card_mod are passed through to Home Assistant.