-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathall-in-one.yaml
More file actions
104 lines (95 loc) · 3 KB
/
all-in-one.yaml
File metadata and controls
104 lines (95 loc) · 3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# EntityMap - All-in-One Card
#
# A single vertical-stack card with everything:
# status tiles, gauges, history charts, and rescan button.
# Perfect for a dedicated "Dependency Health" dashboard section.
#
# How to add:
# 1. Open your dashboard, click pencil icon (Edit)
# 2. Click "+ Add Card" (bottom right)
# 3. Scroll down, click "Manual" (YAML editor)
# 4. Paste this YAML and click "Save"
#
# Entity IDs below are the canonical IDs created by the integration.
#
# Adjust gauge "max" values to fit your installation size.
type: vertical-stack
cards:
# ── Status tiles ──────────────────────────────────────────────
- type: grid
columns: 4
square: false
cards:
- type: tile
entity: sensor.entitymap_total_nodes
name: Nodes
icon: mdi:graph
color: blue
vertical: true
- type: tile
entity: sensor.entitymap_total_edges
name: Dependencies
icon: mdi:vector-polyline
color: cyan
vertical: true
- type: tile
entity: sensor.entitymap_fragility_issues
name: Issues
icon: mdi:alert-outline
color: orange
vertical: true
- type: tile
entity: sensor.entitymap_last_scan
name: Last Scan
icon: mdi:clock-check-outline
color: green
vertical: true
# ── Gauges ────────────────────────────────────────────────────
- type: grid
columns: 2
square: false
cards:
- type: gauge
entity: sensor.entitymap_total_nodes
name: "Graph Nodes"
min: 0
max: 500
needle: true
severity:
green: 0
yellow: 200
red: 400
- type: gauge
entity: sensor.entitymap_total_edges
name: "Dependencies"
min: 0
max: 1000
needle: true
severity:
green: 0
yellow: 400
red: 800
# ── History charts ────────────────────────────────────────────
- type: history-graph
title: "📈 Graph Growth - 7 days"
hours_to_show: 168
entities:
- entity: sensor.entitymap_total_nodes
name: Nodes
- entity: sensor.entitymap_total_edges
name: Dependencies
- type: history-graph
title: "📊 Fragility Issues - 7 days"
hours_to_show: 168
entities:
- entity: sensor.entitymap_fragility_issues
name: Fragility Issues
# ── Rescan button ─────────────────────────────────────────────
- type: button
entity: button.entitymap_rescan
name: "🔄 Rescan Dependencies"
icon: mdi:refresh
tap_action:
action: toggle
show_state: false
icon_height: 40px