Pi-hole card

This commit is contained in:
2020-04-25 00:06:28 +03:00
parent e72aacffef
commit d249e64cd5
4 changed files with 75 additions and 47 deletions
@@ -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