mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-15 17:12:59 +00:00
Pi-hole card
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
pi_hole_card:
|
||||
default:
|
||||
- title:
|
||||
- icon:
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: entities
|
||||
title: "[[title]]"
|
||||
icon: "[[icon]]"
|
||||
entities:
|
||||
- entity: switch.pihole_temp_disable
|
||||
name: Pause for 5 mins
|
||||
- type: custom:dummy-entity-row
|
||||
entity: sun.sun
|
||||
name: Open admin UI
|
||||
icon: mdi:firefox
|
||||
tap_action:
|
||||
action: url
|
||||
url_path: http://cobalt.lan:8081/admin
|
||||
|
||||
- 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
|
||||
Reference in New Issue
Block a user