Skip to content

More Info Graphs

andyblac edited this page Jul 21, 2026 · 1 revision

More Info Graphs

Advanced History can replace Home Assistant's native History graph inside entity More Info dialogs with Statistics Graph Chart Card.

The replacement is managed by a separate More-Info service. Its enable switch, calendar and card defaults are independent from the Advanced History sidebar panel.

Add the More-Info service

New installations create both the Advanced History panel service and the More-Info service automatically.

For an installation created before version 0.6.0:

  1. Open Settings → Devices & services.
  2. Open Advanced History.
  3. Select Add service.
  4. Complete the Set up More-Info form.

The integration page will then show separate Advanced History and More-Info entries, each with its own configuration cog.

Settings

Open the cog beside More-Info to change these settings:

Setting Description
Use Statistics Graph in More Info Replaces the native History graph. Disable it to restore Home Assistant's graph.
Show chart calendar Displays Statistics Graph Chart Card's date controls. The initial calendar mode is Day.
Graph card module URL Optional explicit resource URL when automatic card detection fails.
More Info Card Defaults YAML defaults used only by graphs inside entity dialogs.

Select Open visual editor below the YAML field to edit the More Info defaults using Statistics Graph Chart Card's editor. Saving the visual editor updates the YAML field for review; submit the config flow to keep the changes or cancel it to discard them.

Default behavior

  • Numeric entities use a timeline graph.
  • Categorical entities use a state timeline with raw state changes.
  • Numeric detection also uses Home Assistant's native chart and entity metadata, so a numeric entity remains numeric while its current state is unknown or unavailable.
  • Binary states use localized names such as Open and Closed.
  • The entity's name is omitted beside a single state timeline, matching Home Assistant's More Info layout.
  • Disabling the replacement leaves the native chart untouched.

The replacement follows the Home Assistant user's or server's selected timezone.

Native-style defaults

The replacement uses Home Assistant theme variables so light, dark and custom themes continue controlling its appearance. When an entity template does not define its own color or state_map, Advanced History supplies Home Assistant's native first-series or binary-state colors at runtime. Explicit entity colors and state maps take precedence.

The card-level axis and grid settings remain visible in the YAML defaults:

auto_scale_points: true
card_background_color: transparent
card_border: false
card_padding: 0
card_shadow: false
date_picker_default_mode: day
height: 240
hours_to_show: 24
show_legend: false
show_now_line: false
show_tooltip: true
state_timeline_corner_radius: 0
x_axis_color: var(--primary-text-color)
x_axis_date_color: var(--primary-text-color)
x_axis_font_size: 12
x_grid_color: var(--divider-color)
x_grid_opacity: 1
x_grid_style: solid
y_axis_color: var(--primary-text-color)
y_axis_font_size: 12
y_grid_color: var(--divider-color)
y_grid_opacity: 1
y_grid_style: solid
entities:
  line_width: 1.5
  show_extrema: never
  show_fill: true
  show_points: false
  show_state: false
  smooth: true

These listed options are visible configuration defaults, not hidden overrides. Change or remove an option in the More Info config flow to hand that setting back to Statistics Graph Chart Card.

Graph fill and tooltips are intentionally enabled by default even though they add detail beyond Home Assistant's native graph.

Calendar

Enable Show chart calendar to add the card's built-in date picker to the More Info graph. It opens in Day mode and supports the date modes supplied by Statistics Graph Chart Card.

The More Info calendar is independent from the floating Energy-style selector in the Advanced History sidebar panel.

Show more

Replacing the graph does not change the separate Open Show more in Advanced History setting.

When that panel setting is enabled, selecting Show more still opens Advanced History with the dialog's entity as its only target. See Configuration Reference.

Restoring the native graph

  1. Open Settings → Devices & services → Advanced History.
  2. Select the cog beside More-Info.
  3. Disable Use Statistics Graph in More Info.
  4. Submit the form.

The integration reloads the frontend configuration and subsequent More Info dialogs use Home Assistant's native graph.

Clone this wiki locally