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

This commit is contained in:
Home Assistant Version Control
2026-08-07 13:02:57 +00:00
parent 7861198a84
commit 0d91810fb9
2 changed files with 64 additions and 0 deletions
+61
View File
@@ -506,6 +506,67 @@
"grid_options": {
"columns": "full"
}
},
{
"type": "custom:apexcharts-card",
"header": {
"show": true,
"title": "Print Outcomes (30 days)",
"show_states": true,
"colorize_states": true
},
"graph_span": 30,
"apex_config": {
"chart": {
"type": "bar",
"stacked": true,
"height": 300
},
"plotOptions": {
"bar": {
"columnWidth": "50%"
}
},
"dataLabels": {
"enabled": true
},
"yaxis": {
"tickAmount": 4,
"labels": {
"minWidth": 40
}
},
"legend": {
"show": true
}
},
"series": [
{
"entity": "sensor.octoprint_successful_prints_count",
"name": "Successful",
"color": "#66bb6a",
"type": "column",
"statistics": {
"type": "change",
"period": "day",
"align": "end"
}
},
{
"entity": "sensor.octoprint_failed_prints_count",
"name": "Failed",
"color": "#ef5350",
"type": "column",
"statistics": {
"type": "change",
"period": "day",
"align": "end"
}
}
],
"grid_options": {
"columns": "full"
}
}
]
}