Chartdeck Contents ↓ GitHub ↗

Segmented bar

The segmented style, drawn with three colour bands and a legend

Ten rounded cells, lit up to the value. The lit cells take the colour of the band the current value is in. The target is shown as an outline around the cell it falls in. The cell count is fixed at 10.

Good for

Signal strength, fill levels.

Example

type: custom:chartdeck-card
style: segmented
title: Signal
entities:
  - entity: sensor.living_room_signal
    name: Living room
  - entity: sensor.bedroom_signal
    name: Bedroom
min: -100
max: -30
severity:
  - from: -100
    color: red
  - from: -80
    color: amber
  - from: -65
    color: green

To use this style, set style: segmented (or pick Segmented in the editor’s Style section).

Options that matter here

Layout: one row per entity. Every option is described on the Options page.

Previous: Thin · Next: Tank · All styles