141 lines
5.8 KiB
Plaintext
141 lines
5.8 KiB
Plaintext
{
|
|
"version": 1,
|
|
"minor_version": 1,
|
|
"key": "lovelace.network_cellphone",
|
|
"data": {
|
|
"config": {
|
|
"views": [
|
|
{
|
|
"type": "sections",
|
|
"sections": [
|
|
{
|
|
"type": "grid",
|
|
"cards": [
|
|
{
|
|
"type": "heading",
|
|
"icon": "mdi:fridge",
|
|
"heading": "Network Status",
|
|
"heading_style": "title"
|
|
},
|
|
{
|
|
"type": "vertical-stack",
|
|
"cards": [
|
|
{
|
|
"type": "entities",
|
|
"show_header_toggle": false,
|
|
"state_color": true,
|
|
"entities": [
|
|
{
|
|
"entity": "sensor.gt_ax11000_connected_devices",
|
|
"name": "Active Clients",
|
|
"icon": "mdi:laptop"
|
|
},
|
|
{
|
|
"entity": "sensor.gt_ax11000_wan_download_speed",
|
|
"name": "Internet Download",
|
|
"icon": "mdi:arrow-down"
|
|
},
|
|
{
|
|
"entity": "sensor.gt_ax11000_wan_upload_speed",
|
|
"name": "Internet Upload",
|
|
"icon": "mdi:arrow-up"
|
|
},
|
|
{
|
|
"entity": "sensor.gt_ax11000_wired_download_speed",
|
|
"name": "Wired D/L",
|
|
"icon": "mdi:lan-connect"
|
|
},
|
|
{
|
|
"entity": "sensor.gt_ax11000_wired_upload_speed",
|
|
"name": "Wired U/L",
|
|
"icon": "mdi:lan-pending"
|
|
}
|
|
],
|
|
"card_mod": {
|
|
"style": "ha-card {\n background: #0d0e12 !important;\n border-left: 1px solid #1a1d26 !important;\n border-right: 1px solid #1a1d26 !important;\n border-top: none !important;\n border-bottom: none !important;\n border-radius: 0px !important;\n box-shadow: none !important;\n --primary-text-color: #f1f5f9;\n --secondary-text-color: #94a3b8;\n --paper-item-icon-color: #3b82f6;\n}\n.card-content {\n padding: 16px 20px 4px 20px !important;\n}\n"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "custom:layout-card",
|
|
"layout_type": "grid",
|
|
"grid_options": {
|
|
"columns": "full",
|
|
"rows": 3
|
|
},
|
|
"layout": {
|
|
"grid-template-columns": "3fr 1fr",
|
|
"grid-gap": "12px"
|
|
},
|
|
"cards": [
|
|
{
|
|
"type": "custom:mini-graph-card",
|
|
"entities": [
|
|
{
|
|
"entity": "sensor.gt_ax11000_wan_download_speed",
|
|
"name": "Download",
|
|
"color": null
|
|
},
|
|
{
|
|
"entity": "sensor.gt_ax11000_wan_upload_speed",
|
|
"name": "Upload",
|
|
"color": null
|
|
}
|
|
],
|
|
"hours_to_show": 6,
|
|
"points_per_hour": 6,
|
|
"line_width": 4,
|
|
"show": {
|
|
"name": false,
|
|
"icon": false,
|
|
"state": true,
|
|
"legend": true,
|
|
"labels": false
|
|
},
|
|
"card_mod": {
|
|
"style": "ha-card {\n background: #0d0e12 !important;\n border: 1px solid #1a1d26 !important;\n border-radius: 12px !important;\n padding: 12px !important;\n height: 100% !important;\n box-sizing: border-box;\n}\n.header {\n padding: 0 !important;\n}\n.states {\n font-size: 14px !important;\n font-weight: 600;\n}\n.states--secondary {\n font-size: 12px !important;\n}\n"
|
|
}
|
|
},
|
|
{
|
|
"type": "vertical-stack",
|
|
"cards": [
|
|
{
|
|
"type": "sensor",
|
|
"entity": "sensor.gt_ax11000_temperature_cpu",
|
|
"name": "CPU Temp",
|
|
"graph": "none",
|
|
"card_mod": {
|
|
"style": "ha-card {\n background: #0d0e12 !important;\n border: 1px solid #1a1d26 !important;\n border-radius: 12px !important;\n padding: 8px 12px !important;\n box-sizing: border-box;\n margin-bottom: 4px !important;\n}\n.name {\n font-size: 12px !important;\n color: #808080 !important;\n}\n.value {\n font-size: 16px !important;\n font-weight: 600 !important;\n}\n"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "gauge",
|
|
"entity": "sensor.gt_ax11000_cpu",
|
|
"grid_options": {
|
|
"columns": 6,
|
|
"rows": "auto"
|
|
},
|
|
"name": "CPU Usage"
|
|
},
|
|
{
|
|
"type": "gauge",
|
|
"entity": "sensor.gt_ax11000_ram",
|
|
"grid_options": {
|
|
"columns": 6,
|
|
"rows": "auto"
|
|
},
|
|
"name": "RAM Ussage"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |