.ha_mcp/logs/mcp_usage.jsonl, .storage/lovelace.printer_stats
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -566,6 +566,56 @@
|
||||
"grid_options": {
|
||||
"columns": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "heading",
|
||||
"heading": "Cost Usage",
|
||||
"icon": "mdi:cash-multiple"
|
||||
},
|
||||
{
|
||||
"type": "tile",
|
||||
"entity": "sensor.octoprint_filament_cost_last_job",
|
||||
"name": "Last Job",
|
||||
"icon": "mdi:history",
|
||||
"grid_options": {
|
||||
"columns": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "tile",
|
||||
"entity": "sensor.octoprint_filament_cost_daily",
|
||||
"name": "Cost Today",
|
||||
"icon": "mdi:chart-donut",
|
||||
"grid_options": {
|
||||
"columns": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "tile",
|
||||
"entity": "sensor.octoprint_filament_cost_weekly",
|
||||
"name": "Cost This Week",
|
||||
"icon": "mdi:calendar-week",
|
||||
"grid_options": {
|
||||
"columns": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "tile",
|
||||
"entity": "sensor.octoprint_filament_cost_monthly",
|
||||
"name": "Cost This Month",
|
||||
"icon": "mdi:calendar-month",
|
||||
"grid_options": {
|
||||
"columns": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "tile",
|
||||
"entity": "sensor.octoprint_filament_cost_total",
|
||||
"name": "Grand Total",
|
||||
"icon": "mdi:chart-pie",
|
||||
"grid_options": {
|
||||
"columns": 4
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -969,6 +1019,78 @@
|
||||
"span": {
|
||||
"end": "day"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "custom:apexcharts-card",
|
||||
"header": {
|
||||
"show": true,
|
||||
"title": "Filament Usage - Cost (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_cost_daily",
|
||||
"name": "Used ($)",
|
||||
"color": "#26c6da",
|
||||
"type": "column",
|
||||
"group_by": {
|
||||
"func": "last",
|
||||
"duration": "1d",
|
||||
"start_with_last": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"entity": "sensor.octoprint_filament_cost_weekly",
|
||||
"name": "Weekly ($)",
|
||||
"color": "#ffca28",
|
||||
"type": "column",
|
||||
"group_by": {
|
||||
"func": "last",
|
||||
"duration": "1d",
|
||||
"start_with_last": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"entity": "sensor.octoprint_filament_cost_total",
|
||||
"name": "Total ($)",
|
||||
"color": "#ab47bc",
|
||||
"type": "line",
|
||||
"curve": "straight",
|
||||
"group_by": {
|
||||
"func": "last",
|
||||
"duration": "1d",
|
||||
"start_with_last": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"grid_options": {
|
||||
"columns": "full"
|
||||
},
|
||||
"span": {
|
||||
"end": "day"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user