diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 86835ba..9d3f6f3 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -774,3 +774,4 @@ {"timestamp": "2026-08-07T14:39:00.147422+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": "history", "mode": null, "query": null}, "execution_time_ms": 115.11373519897461, "success": true, "error_message": null, "response_size_bytes": 3859, "user_context": null} {"timestamp": "2026-08-07T14:39:00.228587+00:00", "tool_name": "ha_config_list_dashboard_resources", "parameters": {"include_content": false, "limit": 100, "offset": 0}, "execution_time_ms": 1.8312931060791016, "success": true, "error_message": null, "response_size_bytes": 8178, "user_context": null} {"timestamp": "2026-08-07T14:42:24.262026+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": 2.7544498443603516, "success": true, "error_message": null, "response_size_bytes": 8856, "user_context": null} +{"timestamp": "2026-08-07T14:42:36.150189+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][1]['sections'][1]['cards'][3] = {'type': 'custom:apexcharts-card', 'header': {'show': True, 'title': 'Z Position (24h)', 'show_states': True, 'colorize_states': True}, 'graph_span': '24h', 'series': [{'entity': 'sensor.octoprint_current_z', 'name': 'Current Z', 'color': '#ab47bc', 'type': 'line', 'curve': 'straight', 'fill_raw': 'last'}], 'grid_options': {'columns': 'full'}, 'apex_config': {'chart': {'height': 300}}}", "config_hash": "6cc21d585064dd4d", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 12.583255767822266, "success": true, "error_message": null, "response_size_bytes": 1021, "user_context": null} diff --git a/.storage/lovelace.printer_stats b/.storage/lovelace.printer_stats index 33626d1..d0f1878 100644 --- a/.storage/lovelace.printer_stats +++ b/.storage/lovelace.printer_stats @@ -476,21 +476,32 @@ } }, { - "type": "history-graph", - "title": "Z Position (24h)", - "hours_to_show": 24, - "show_names": true, - "entities": [ + "type": "custom:apexcharts-card", + "header": { + "show": true, + "title": "Z Position (24h)", + "show_states": true, + "colorize_states": true + }, + "graph_span": "24h", + "series": [ { "entity": "sensor.octoprint_current_z", "name": "Current Z", - "color": "#ab47bc" + "color": "#ab47bc", + "type": "line", + "curve": "straight", + "fill_raw": "last" } ], "grid_options": { "columns": "full" }, - "connect_spans": true + "apex_config": { + "chart": { + "height": 300 + } + } }, { "type": "history-graph",