-
Notifications
You must be signed in to change notification settings - Fork 41
/
flex-table-card-example.yaml
76 lines (75 loc) · 2.27 KB
/
flex-table-card-example.yaml
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
---
## Install flex-table-card from here https://github.com/custom-cards/flex-table-card
resources:
- url: /local/flex-table-card/flex-table-card.js
type: js
views:
- title: ESXi Stats Example
panel: true
cards:
- type: vertical-stack
cards:
- type: custom:flex-table-card
title: ESXi Hosts
clickable: true
entities:
include: sensor.esxi_vmhost*
columns:
- name: Name
data: name
- name: Version
data: version
- name: Uptime (H)
data: uptime_hours
- name: CPU Use (GHz)
data: cpuusage_ghz
- name: Mem Use (GB)
data: memusage_gb
- name: VMs
data: vms
- type: custom:flex-table-card
title: ESXi Virtual Machines
clickable: true
entities:
include: sensor.esxi_vm_*
columns:
- name: Name
data: name
- name: Status
data: status
- name: State
data: state
- name: Uptime (H)
data: uptime_hours
- name: CPU Usage (%)
data: cpu_use_pct
- name: CPUs
data: cpu_count
- name: Mem Use (MB)
data: memory_used_mb
- name: Mem Total (MB)
data: memory_allocated_mb
- name: Storage Used (GB)
data: used_space_gb
- name: VM Tools
data: tools_status
- name: Snapshots
data: snapshots
- type: custom:flex-table-card
title: ESXi Datastores
clickable: true
entities:
include: sensor.esxi_datastore*
columns:
- name: Name
data: name
- name: Free Space (GB)
data: free_space_gb
- name: Capacity (GB)
data: total_space_gb
- name: Hosts
data: connected_hosts
- name: VMs
data: virtual_machines
- name: Type
data: type