.ha_mcp/logs/mcp_usage.jsonl, .storage/lovelace.printer_stats

This commit is contained in:
Home Assistant Version Control
2026-08-08 03:14:34 +00:00
parent 693dd1401e
commit 119a09f319
2 changed files with 62 additions and 0 deletions
+61
View File
@@ -637,6 +637,67 @@
"span": {
"end": "day"
}
},
{
"type": "custom:apexcharts-card",
"header": {
"show": true,
"title": "Filament Usage (30 days)",
"show_states": true,
"colorize_states": true
},
"graph_span": "30d",
"apex_config": {
"chart": {
"type": "bar",
"height": 300
},
"plotOptions": {
"bar": {
"columnWidth": "50%"
}
},
"dataLabels": {
"enabled": false
},
"yaxis": {
"tickAmount": 4,
"labels": {
"minWidth": 40
}
}
},
"series": [
{
"entity": "sensor.octoprint_filament_daily",
"name": "Used (mm)",
"color": "#26c6da",
"type": "column",
"group_by": {
"func": "last",
"duration": "1d",
"start_with_last": true
}
},
{
"entity": "sensor.octoprint_filament_used_total",
"name": "Total (mm)",
"color": "#ab47bc",
"type": "line",
"curve": "straight",
"group_by": {
"func": "last",
"duration": "1d",
"start_with_last": true
}
}
],
"grid_options": {
"columns": "full"
},
"span": {
"end": "day"
}
}
]
}