Skip to content

Examples

Basic

type: custom:pi-hole
device_id: pi_hole_device_1

Multiple Pi-holes

type: custom:pi-hole
device_id:
  - pi_hole_device_1
  - pi_hole_device_2
title: My Pi-hole Network

Custom title and icon

type: custom:pi-hole
device_id: pi_hole_device_1
title: My Pi-hole Server
icon: mdi:shield-check

Exclude chart section

type: custom:pi-hole
device_id: pi_hole_device_1
exclude_sections:
  - chart

Custom actions

type: custom:pi-hole
device_id: pi_hole_device_1
stats:
  tap_action:
    action: more-info
controls:
  tap_action:
    action: toggle