Skip to content

Graph Settings and Card Defaults

andyblac edited this page Jul 19, 2026 · 1 revision

Graph Settings and Card Defaults

Advanced History uses the visual editor supplied by Statistics Graph Chart Card. There are two distinct places to use it.

Edit the current chart

Select the cog in the Advanced History header.

  • The editor contains the entities currently resolved by the page.
  • Saving stores the result only in the current chart.
  • Changes are included in Undo/Redo, Bookmarks, and chart History.
  • Current-chart changes do not alter integration-wide defaults.

If a current-chart option is removed, Advanced History falls back to the corresponding Card Default. If no integration default exists, Statistics Graph Chart Card uses its built-in default.

Edit Card Defaults

  1. Open Settings → Devices & services.
  2. Select Advanced History.
  3. Select Configure.
  4. Find Card Defaults.

Card Defaults can be edited directly as YAML or through Open visual editor. Saving the visual editor updates the YAML field immediately for review. Submit the config flow to keep the changes; canceling the config flow discards the draft.

Anonymous entity defaults

Entries under entities without an entity ID apply to every dynamically selected entity:

entities:
  show_in_legend: true
  legend_stats:
    - min
    - avg
    - max
  show_state: false
  compare:
    hide_on_load: true

An anonymous list is also accepted and merged in order. Settings explicitly saved for a particular entity take precedence.

Options managed by the integration

  • energy_date_sync: true is enforced because both generated graphs must follow the shared Energy selector.
  • height is managed through Graph height.
  • hours_to_show is managed through Default hours.

Other options are passed through without being silently forced. Boolean options can be set to false explicitly.

Clone this wiki locally