.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-08-14 15:52:55 +00:00
parent 4bdbc4dde1
commit 141f590912
+1
View File
@@ -1236,3 +1236,4 @@
{"timestamp": "2026-08-14T15:45:26.548905+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][0]['cards'][7]['content'] = \"**File:** {{ states('sensor.octoprint_print_file') }}\\n**Size:** {{ (states('sensor.octoprint_print_file_size') | int(0) / 1048576) | round(1) }} MB\\n**User:** {{ states('sensor.octoprint_print_user') }}\"; config['views'][0]['sections'][1]['cards'][3]['primary'] = \"{% set s = states('sensor.octoprint_time_left') | float(-1) %}{% if s <= 0 %}Remaining: No estimate{% else %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}Remaining: {% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %}{% endif %}\"", "config_hash": "bd5b4fe345bbe46d", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 49.88217353820801, "success": true, "error_message": null, "response_size_bytes": 1200, "user_context": null}
{"timestamp": "2026-08-14T15:52:39.575354+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.octoprint_elapsed", "fields": null, "attribute_keys": null}, "execution_time_ms": 10.149955749511719, "success": true, "error_message": null, "response_size_bytes": 793, "user_context": null}
{"timestamp": "2026-08-14T15:52:39.829878+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "sensor.octoprint_elapsed", "source": "history", "start_time": "24h", "end_time": null, "minimal_response": true, "significant_changes_only": true, "limit": null, "offset": null, "period": "day", "statistic_types": null, "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 47.96171188354492, "success": true, "error_message": null, "response_size_bytes": 13348, "user_context": null}
{"timestamp": "2026-08-14T15:52:49.175675+00:00", "tool_name": "ha_search", "parameters": {"query": "elapsed", "domain_filter": null, "area_filter": null, "search_types": null, "limit": 20, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": ["entity_id", "friendly_name", "state"], "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 8906.650066375732, "success": true, "error_message": null, "response_size_bytes": 1628, "user_context": null}