pi_hole_card:
  default:
    - title:
    - icon:
  card:
    type: vertical-stack
    cards:
      - type: entities
        title: "[[title]]"
        icon: "[[icon]]"
        entities:
          - entity: binary_sensor.pi_hole_enabled
            name: Status
          - entity: switch.pihole_temp_disable
            name: Pause for 5 mins

      - type: horizontal-stack
        cards:
          - type: custom:mini-graph-card
            name: Total queries
            font_size: 75
            line_color: var(--accent-color)
            line_width: 6
            entities:
              - sensor.pi_hole_dns_queries_today

          - type: custom:mini-graph-card
            name: Queries blocked
            font_size: 75
            line_color: var(--accent-color)
            line_width: 6
            entities:
              - sensor.pi_hole_ads_blocked_today

      - type: horizontal-stack
        cards:
          - type: custom:mini-graph-card
            name: Percent blocked
            font_size: 75
            line_color: var(--accent-color)
            line_width: 6
            entities:
              - sensor.pi_hole_ads_percentage_blocked_today

          - type: custom:mini-graph-card
            name: Seen clients
            font_size: 75
            line_color: var(--accent-color)
            line_width: 6
            entities:
              - sensor.pi_hole_seen_clients
