.ha_mcp/backups/dashboard.sparkx-i7.20261008_224327.yaml, .ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-10-08 22:43:34 +00:00
parent 52462a2e80
commit 3fa383e917
2 changed files with 1242 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+2
View File
@@ -4113,3 +4113,5 @@
{"timestamp": "2026-10-08T22:34:56.888581+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "1791477238729"}, "execution_time_ms": 774.5609283447266, "success": true, "error_message": null, "response_size_bytes": 5731, "user_context": null}
{"timestamp": "2026-10-08T22:34:56.901003+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "1791477238762"}, "execution_time_ms": 775.9666442871094, "success": true, "error_message": null, "response_size_bytes": 5423, "user_context": null}
{"timestamp": "2026-10-08T22:35:41.074425+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.sparkx_i7_used_material_length", "sensor.sparkx_i7_print_status", "sensor.sparkx_i7_active_filament_slot", "input_text.sparkx_i7_print_spool_latch", "input_number.sparkx_i7_spoolman_length_checkpoint", "input_number.sparkx_i7_slot_1_grams", "input_number.sparkx_i7_slot_2_grams", "input_number.sparkx_i7_slot_3_grams", "input_number.sparkx_i7_slot_4_grams", "sensor.sparkx_i7_filament_weight_estimated"], "fields": ["state", "attributes", "last_updated"], "attribute_keys": null}, "execution_time_ms": 8.742570877075195, "success": true, "error_message": null, "response_size_bytes": 3567, "user_context": null}
{"timestamp": "2026-10-08T22:43:27.850473+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "sparkx-i7", "config": null, "python_transform": "config['views'][3]['sections'][0]['cards'][1]['picture'] = '''{% set c = states('sensor.sparkx_i7_cfs_box_1_slot_1_color') | replace('#','') | lower %}{% set svg = '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"96\" height=\"96\"><rect width=\"96\" height=\"96\" rx=\"20\" fill=\"#' ~ c ~ '\" stroke=\"rgba(127,127,127,0.6)\" stroke-width=\"4\"/></svg>' %}{{ 'data:image/svg+xml;base64,' ~ svg | base64_encode if c | length == 6 else '' }}'''; config['views'][3]['sections'][0]['cards'][2]['picture'] = '''{% set c = states('sensor.sparkx_i7_cfs_box_1_slot_2_color') | replace('#','') | lower %}{% set svg = '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"96\" height=\"96\"><rect width=\"96\" height=\"96\" rx=\"20\" fill=\"#' ~ c ~ '\" stroke=\"rgba(127,127,127,0.6)\" stroke-width=\"4\"/></svg>' %}{{ 'data:image/svg+xml;base64,' ~ svg | base64_encode if c | length == 6 else '' }}'''; config['views'][3]['sections'][0]['cards'][3]['picture'] = '''{% set c = states('sensor.sparkx_i7_cfs_box_1_slot_3_color') | replace('#','') | lower %}{% set svg = '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"96\" height=\"96\"><rect width=\"96\" height=\"96\" rx=\"20\" fill=\"#' ~ c ~ '\" stroke=\"rgba(127,127,127,0.6)\" stroke-width=\"4\"/></svg>' %}{{ 'data:image/svg+xml;base64,' ~ svg | base64_encode if c | length == 6 else '' }}'''; config['views'][3]['sections'][0]['cards'][4]['picture'] = '''{% set c = states('sensor.sparkx_i7_cfs_box_1_slot_4_color') | replace('#','') | lower %}{% set svg = '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"96\" height=\"96\"><rect width=\"96\" height=\"96\" rx=\"20\" fill=\"#' ~ c ~ '\" stroke=\"rgba(127,127,127,0.6)\" stroke-width=\"4\"/></svg>' %}{{ 'data:image/svg+xml;base64,' ~ svg | base64_encode if c | length == 6 else '' }}'''", "config_hash": "a18b5e7f7f52706a", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null, "patch": null}, "execution_time_ms": 3.452301025390625, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"SERVICE_CALL_FAILED\",\n \"message\": \"Dashboard modified since last read (conflict)\",\n \"suggestion\": \"Read the dashboard again with ha_config_get_dashboard\",\n \"suggestions\": [\n \"Read the dashboard again with ha_config_get_dashboard\",\n \"Use its fresh config_hash and rebase the edit on the current config\",\n \"For Home Assistant best-practice guidance, call ha_get_skill_guide() to read SKILL.md, then the reference file its table points to, before retrying.\"\n ]\n },\n \"action\": \"python_transform\",\n \"url_path\": \"sparkx-i7\",\n \"reason\": \"conflict\",\n \"write_committed\": false,\n \"post_write_verified\": false\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-10-08T22:43:33.854336+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "sparkx-i7", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "spoolman", "mode": null, "query": null}, "execution_time_ms": 5.719184875488281, "success": true, "error_message": null, "response_size_bytes": 30406, "user_context": null}