.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-08-10 01:23:03 +00:00
parent 6c09e36294
commit 43541692cd
+2
View File
@@ -1067,3 +1067,5 @@
{"timestamp": "2026-08-09T01:46:36.971461+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][1]['cards'][4]['content'] = \"{% set finish = states('sensor.octoprint_approximate_completion_time') | as_datetime %}{% if finish %}<ha-icon icon='mdi:clock-outline'></ha-icon> **Est. finish:** {{ (as_local(finish)).strftime('%I:%M %p').lstrip('0') }}{% else %}<ha-icon icon='mdi:clock-outline'></ha-icon> **Est. finish:** —{% endif %}\"", "config_hash": "66041c58fa1fd78e", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 9.050846099853516, "success": true, "error_message": null, "response_size_bytes": 971, "user_context": null} {"timestamp": "2026-08-09T01:46:36.971461+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][1]['cards'][4]['content'] = \"{% set finish = states('sensor.octoprint_approximate_completion_time') | as_datetime %}{% if finish %}<ha-icon icon='mdi:clock-outline'></ha-icon> **Est. finish:** {{ (as_local(finish)).strftime('%I:%M %p').lstrip('0') }}{% else %}<ha-icon icon='mdi:clock-outline'></ha-icon> **Est. finish:** —{% endif %}\"", "config_hash": "66041c58fa1fd78e", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 9.050846099853516, "success": true, "error_message": null, "response_size_bytes": 971, "user_context": null}
{"timestamp": "2026-08-10T01:22:51.425245+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "default", "list_only": true, "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": 27.29201316833496, "success": true, "error_message": null, "response_size_bytes": 1694, "user_context": null} {"timestamp": "2026-08-10T01:22:51.425245+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "default", "list_only": true, "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": 27.29201316833496, "success": true, "error_message": null, "response_size_bytes": 1694, "user_context": null}
{"timestamp": "2026-08-10T01:22:56.984696+00:00", "tool_name": "ha_search", "parameters": {"query": "filament", "domain_filter": null, "area_filter": null, "search_types": null, "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 5495.281934738159, "success": true, "error_message": null, "response_size_bytes": 2459, "user_context": null} {"timestamp": "2026-08-10T01:22:56.984696+00:00", "tool_name": "ha_search", "parameters": {"query": "filament", "domain_filter": null, "area_filter": null, "search_types": null, "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 5495.281934738159, "success": true, "error_message": null, "response_size_bytes": 2459, "user_context": null}
{"timestamp": "2026-08-10T01:23:00.903393+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": "printer_stats", "mode": null, "query": null}, "execution_time_ms": 10.715484619140625, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"Dashboard view path 'printer_stats' is not found.\",\n \"suggestion\": \"Use a view_path returned by ha_config_get_dashboard\"\n },\n \"dashboard_url_path\": \"printer-stats\",\n \"view_path\": \"printer_stats\",\n \"available_view_paths\": [\n \"print\",\n \"history\"\n ]\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-08-10T01:23:01.178223+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.octoprint_filament_daily", "sensor.octoprint_filament_weekly", "sensor.octoprint_filament_monthly", "sensor.octoprint_filament_used_total", "sensor.octoprint_last_print_filament"], "fields": null, "attribute_keys": ["unit_of_measurement", "device_class", "state_class", "friendly_name"]}, "execution_time_ms": 26.673555374145508, "success": true, "error_message": null, "response_size_bytes": 2861, "user_context": null}