-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdashboard.yaml
More file actions
119 lines (108 loc) · 3.88 KB
/
dashboard.yaml
File metadata and controls
119 lines (108 loc) · 3.88 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# EntityMap — Full Dedicated Dashboard
#
# A complete dashboard layout with all EntityMap cards pre-arranged.
# Intended as a standalone "Dependency Health" dashboard.
#
# How to use:
# 1. Go to Settings > Dashboards > Add Dashboard
# 2. Name it "Dependency Health" and create it
# 3. Open the new dashboard > three-dot menu (⋮) > Edit Dashboard
# 4. Three-dot menu (⋮) again > Raw configuration editor
# 5. Paste this YAML
# 6. Click "Save"
#
# Adjust gauge "max" values to fit your installation size.
views:
- title: EntityMap
path: entitymap
icon: mdi:graph-outline
cards:
# ── Row 1: 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
# ── Row 2: Gauges + actions ─────────────────────────────────
- type: horizontal-stack
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
- type: vertical-stack
cards:
- type: button
entity: button.entitymap_rescan
name: "🔄 Rescan"
icon: mdi:refresh
tap_action:
action: toggle
show_state: false
icon_height: 40px
- type: entity
entity: sensor.entitymap_fragility_issues
name: "Fragility Issues"
icon: mdi:alert-outline
# ── Row 3: Graph growth over time ───────────────────────────
- 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
# ── Row 4: Fragility trend ──────────────────────────────────
- type: history-graph
title: "📊 Fragility Issues — 7 days"
hours_to_show: 168
entities:
- entity: sensor.entitymap_fragility_issues
name: Issues
# ── Row 5: Tip / info ───────────────────────────────────────
- type: markdown
title: "💡 Tip"
content: >
Open the **EntityMap** panel from the sidebar to explore the full
interactive dependency graph. Click any node to see its impact
analysis, fragility findings, and migration guidance.