Skip to content

Configuration Options

Options

Name Type Default Description
device_id string or array Required The ID(s) of your Pi-hole device(s) in Home Assistant
title string Pi-Hole Custom title for the card header
icon string mdi:pi-hole Custom icon for the card header
badge object none Configure actions for the card icon/badge
pause object [60,300,900] Pause buttons config
stats object none Configure actions for statistics tiles
info object none Configure actions for additional info items
controls object none Configure actions for control buttons
exclude_sections list none Sections of entities to exclude
exclude_entities list none Entities to remove from the card
entity_order list none Custom order for switch, button, sensor entities or dividers
collapsed_sections list none Sections to be initially collapsed
switch_spacing string flex Layout style for switches: flex, space-around, space-between
chart object none Chart configuration options
aggregation object none Multi-Pi-hole tile aggregation (see AGGREGATION)
features list See below Optional flags to toggle different features

Auto-discovery

The card automatically discovers and identifies Pi-hole entities based on:

  • Entity naming patterns
  • Translation keys
  • Entity relationships to the device

This includes sensors, buttons, switches, binary sensors, and update entities.