.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-10-08 22:46:06 +00:00
parent c9fabfda17
commit 4a96821fdd
+1
View File
@@ -4119,3 +4119,4 @@
{"timestamp": "2026-10-08T22:44:03.363140+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "sparkx-i7", "list_only": false, "force_reload": true, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "spoolman", "mode": null, "query": null}, "execution_time_ms": 1014.7566795349121, "success": true, "error_message": null, "response_size_bytes": 30588, "user_context": null}
{"timestamp": "2026-10-08T22:44:24.327704+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": "873f279812b61846", "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": 22.7358341217041, "success": true, "error_message": null, "response_size_bytes": 2659, "user_context": null}
{"timestamp": "2026-10-08T22:44:28.576333+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "sparkx-i7", "list_only": false, "force_reload": true, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "spoolman", "mode": null, "query": null}, "execution_time_ms": 27.362585067749023, "success": true, "error_message": null, "response_size_bytes": 32156, "user_context": null}
{"timestamp": "2026-10-08T22:45:59.986904+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "sparkx-i7", "list_only": false, "force_reload": false, "entity_id": "sensor.sparkx_i7_cfs_box_1_slot_*", "card_type": null, "heading": null, "include_config": true, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 21.848440170288086, "success": true, "error_message": null, "response_size_bytes": 26053, "user_context": null}