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

This commit is contained in:
Home Assistant Version Control
2026-08-18 14:26:16 +00:00
parent 1baaa58f51
commit 13dc64b70f
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -1697,3 +1697,4 @@
{"timestamp": "2026-08-18T14:21:35.805230+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "sensor.octoprint_tool_0_temperature", "source": "history", "start_time": "2026-08-18T09:49:00-04:00", "end_time": null, "minimal_response": true, "significant_changes_only": true, "limit": 30, "offset": null, "period": "day", "statistic_types": null, "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 37.395477294921875, "success": true, "error_message": null, "response_size_bytes": 4611, "user_context": null}
{"timestamp": "2026-08-18T14:24:08.957712+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 6.65593147277832, "success": true, "error_message": null, "response_size_bytes": 14584, "user_context": null}
{"timestamp": "2026-08-18T14:24:50.563004+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "\n# Temperatures section is views[0].sections[2]\nsection = config['views'][0]['sections'][2]\n\n# Remove any existing single-entity history-graph cards\nsection['cards'] = [c for c in section['cards'] if not (c.get('type') == 'history-graph')]\n\n# Add combined nozzle temperature chart\nnozzle_chart = {\n 'title': 'Nozzle Temperature',\n 'type': 'history-graph',\n 'entities': [\n {'entity': 'sensor.octoprint_tool_0_temperature', 'name': 'Actual', 'color': '#ef5350'},\n {'entity': 'sensor.octoprint_tool_0_target', 'name': 'Target', 'color': '#ffab91'}\n ],\n 'hours_to_show': 24,\n 'show_names': True,\n 'expand_legend': True,\n 'grid_options': {'columns': 'full'}\n}\n\n# Add combined bed temperature chart\nbed_chart = {\n 'title': 'Bed Temperature',\n 'type': 'history-graph',\n 'entities': [\n {'entity': 'sensor.octoprint_bed_temperature', 'name': 'Actual', 'color': '#42a5f5'},\n {'entity': 'sensor.octoprint_bed_target', 'name': 'Target', 'color': '#90caf9'}\n ],\n 'hours_to_show': 24,\n 'show_names': True,\n 'expand_legend': True,\n 'grid_options': {'columns': 'full'}\n}\n\nsection['cards'].append(nozzle_chart)\nsection['cards'].append(bed_chart)\n", "config_hash": "a42bdda6bd8814fd", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 18.863439559936523, "success": true, "error_message": null, "response_size_bytes": 31310, "user_context": null}
{"timestamp": "2026-08-18T14:26:10.912464+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "\n# Temperatures section is views[0].sections[2]\nsection = config['views'][0]['sections'][2]\n\n# Find and update the nozzle chart\nfor card in section['cards']:\n if card.get('title') == 'Nozzle Temperature' and card.get('type') == 'history-graph':\n for entity in card.get('entities', []):\n if entity.get('name') == 'Target':\n entity['color'] = '#4caf50' # Green\n\n# Find and update the bed chart\nfor card in section['cards']:\n if card.get('title') == 'Bed Temperature' and card.get('type') == 'history-graph':\n for entity in card.get('entities', []):\n if entity.get('name') == 'Target':\n entity['color'] = '#4caf50' # Green\n", "config_hash": "e54892f851f38fac", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 25.226831436157227, "success": true, "error_message": null, "response_size_bytes": 30779, "user_context": null}
+2 -2
View File
@@ -257,7 +257,7 @@
{
"entity": "sensor.octoprint_tool_0_target",
"name": "Target",
"color": "#ffab91"
"color": "#4caf50"
}
],
"hours_to_show": 24,
@@ -279,7 +279,7 @@
{
"entity": "sensor.octoprint_bed_target",
"name": "Target",
"color": "#90caf9"
"color": "#4caf50"
}
],
"hours_to_show": 24,