diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index d314d543..9dbd1611 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -1696,3 +1696,4 @@ {"timestamp": "2026-08-18T14:21:22.310058+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.octoprint_tool_0_temperature", "sensor.octoprint_tool_0_target", "sensor.octoprint_bed_temperature", "binary_sensor.octoprint_printing"], "fields": null, "attribute_keys": null}, "execution_time_ms": 31.662702560424805, "success": true, "error_message": null, "response_size_bytes": 2294, "user_context": null} {"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} diff --git a/.storage/lovelace.printer_stats b/.storage/lovelace.printer_stats index 629b4de1..6388f3be 100644 --- a/.storage/lovelace.printer_stats +++ b/.storage/lovelace.printer_stats @@ -244,6 +244,50 @@ "grid_options": { "columns": 6 } + }, + { + "title": "Nozzle Temperature", + "type": "history-graph", + "entities": [ + { + "entity": "sensor.octoprint_tool_0_temperature", + "name": "Actual", + "color": "#ef5350" + }, + { + "entity": "sensor.octoprint_tool_0_target", + "name": "Target", + "color": "#ffab91" + } + ], + "hours_to_show": 24, + "show_names": true, + "expand_legend": true, + "grid_options": { + "columns": "full" + } + }, + { + "title": "Bed Temperature", + "type": "history-graph", + "entities": [ + { + "entity": "sensor.octoprint_bed_temperature", + "name": "Actual", + "color": "#42a5f5" + }, + { + "entity": "sensor.octoprint_bed_target", + "name": "Target", + "color": "#90caf9" + } + ], + "hours_to_show": 24, + "show_names": true, + "expand_legend": true, + "grid_options": { + "columns": "full" + } } ] },