Skip to content

Area Section

tempus2016 edited this page Nov 27, 2026 · 1 revision

Area section (v2.5.0+)

Three Chartdeck area sections side by side: the Living Room and the Bedroom each with a line chart for temperature, a line chart for humidity and a row of batteries; the Bathroom, which has no sensors, with a short message instead

A whole section of Chartdeck cards for one area, built for you: pick a room, and you get its name as a heading and one card for each type of sensor in it. It comes with the card; there is nothing more to install.

Good for

A section per room on a Sections view, without adding a card for every sensor yourself. Sensors you add to the area later appear on their own.

Adding one

Needs Home Assistant 2026.11 or later.

  1. Edit a Sections view and choose Create section.
  2. Choose Automatic section, then Chartdeck area under Community sections.
  3. Pick the area and choose Save.

The Choose an automatic section dialog, with Chartdeck area listed under Community sections and a preview of the Bedroom's cards

In YAML, it is one section:

type: sections
sections:
  - strategy:
      type: custom:chartdeck-area
      area: living_room

area is the area's ID, shown in Settings → Areas, labels & zones when you open the area.

What it builds

Each type of sensor (its device class) gets one card, in this order and style:

Sensor type Style
Temperature Line
Humidity Line
Power Sparkline
Battery Battery
Any other type, A to Z Bar
Sensors with no type One Bar card for all of them

Only sensors with a number count: ones that show a number now, or that have a unit or state class. A sensor that holds a date or a word is left out. Sensors hidden in Home Assistant are left out too.

A sensor counts as in the area when it is placed there itself, or when its device is.

Each card finds its sensors with an include rule (area + device_class), so it never lists them by name: add a battery sensor to the room and it appears in the battery card.

If the area has no sensors with numbers, the section says so. If the area is deleted, the section asks you to choose one.

Changing the cards

The section is built again every time the dashboard loads, so its cards can't be edited one by one: changing the area is the one setting. For cards of your own choosing, add a manual section with Chartdeck cards and give each the same kind of rule, for example:

type: custom:chartdeck-card
style: tank
include:
  area: living_room
  device_class: humidity

Clone this wiki locally