Repository navigation
feat: Chartdeck area section for the dashboard's community sections - #133
Merged
Merged
Conversation
…e page Home Assistant 2026.12 skips README sections between ha-marketplace:exclude markers. The CI, validation and CodeQL badges and the open-in-Marketplace button only make sense on GitHub. Older versions still show the whole README.
One card per sensor type found in the area, each with its own include rule so sensors added later appear by themselves. Batteries get the battery style, temperature and humidity a line, power a sparkline, the rest a bar. Sensors without a type share one bar card. A missing or empty area shows a message instead of an error.
Home Assistant 2026.11 lists custom section strategies in the Add section dialog. Chartdeck area appears there with a preview of the first area that has sensors, and a visual editor to pick another area.
A date sensor whose state is unknown counted as a number to come, so the section built a card for it. A type now needs a sensor that is numeric, or has a unit or state class, and the card for sensors without a type leaves those types out too.
github-actions Bot
pushed a commit
that referenced
this pull request
Nov 27, 2026
## [2.5.0](v2.4.0...v2.5.0) (2026-11-27) ### Features * Chartdeck area section for the dashboard's community sections ([#133](#133)) ([8bd64c0](8bd64c0))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release v2.5.0: the Chartdeck area section, and a tidier Marketplace page.
Chartdeck area section (
custom:chartdeck-area)A section strategy listed under Create section → Automatic section → Community sections on Home Assistant 2026.11+. Pick an area and the section shows its name as a heading and one Chartdeck card per sensor type found there:
Each card finds its sensors with an
includerule (area+domain: sensor+device_class), so sensors added later appear by themselves. A type only gets a card when one of its sensors shows a number or has a unit or state class, so date and text sensors don't get cards. Hidden entities and non-sensor entities are left out. A sensor counts as in the area through its own area or its device's.A missing or deleted area shows "Choose an area for this Chartdeck section."; an area with no sensors with numbers says so. Neither throws. The editor is one area picker. Messages and the editor label are translated into all 20 languages.
Tested on HAOS-Dev 2026.11.1 in light and dark: listed in the picker with a preview, the editor preview follows the chosen area, and the empty and missing area messages render. Testing there turned up date sensors with an unknown state getting a card of their own; fixed with a test before this PR.
Marketplace page
The CI, Marketplace validation and CodeQL badge row and the open-in-Marketplace button are wrapped in
ha-marketplace:excludemarkers, so Home Assistant 2026.12+ leaves them out of the Marketplace listing. GitHub and older versions show the README as before.Docs
A README line for the area section, and a new wiki page, Area section.