.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-08-14 16:15:32 +00:00
parent 2e3462794c
commit 3bb7fdc8dc
+1
View File
@@ -1255,3 +1255,4 @@
{"timestamp": "2026-08-14T16:13:48.424541+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{{ states('sensor.octoprint_print_time_left_live') }} | asfloat: {{ states('sensor.octoprint_print_time_left_live') | float }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 6.995439529418945, "success": true, "error_message": null, "response_size_bytes": 240, "user_context": null}
{"timestamp": "2026-08-14T16:13:49.130066+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "print_time=1469 last_updated=11:57:09 now={{ now().isoformat() }}\nelapsed_now={{ states('sensor.octoprint_print_time') | float(0) + ((as_timestamp(now()) - as_timestamp(states.sensor.octoprint_print_time.last_updated)) if is_state('binary_sensor.octoprint_printing','on') else 0) }}\ntime_left_now={{ states('sensor.octoprint_print_time_left') | float(0) - ((as_timestamp(now()) - as_timestamp(states.sensor.octoprint_print_time.last_updated)) if is_state('binary_sensor.octoprint_printing','on') else 0) }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 24.273395538330078, "success": true, "error_message": null, "response_size_bytes": 736, "user_context": null}
{"timestamp": "2026-08-14T16:14:04.515187+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "sensor.octoprint_print_time_left_live", "source": "history", "start_time": "2026-08-14T09:00:00-04:00", "end_time": "2026-08-14T12:15:00-04:00", "minimal_response": false, "significant_changes_only": true, "limit": 100, "offset": null, "period": "day", "statistic_types": null, "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 108.47258567810059, "success": true, "error_message": null, "response_size_bytes": 30850, "user_context": null}
{"timestamp": "2026-08-14T16:15:25.782317+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.octoprint_print_time", "sensor.octoprint_print_progress_live", "sensor.octoprint_print_time_left_live", "sensor.octoprint_print_state_live", "sensor.octoprint_elapsed", "sensor.octoprint_time_left", "binary_sensor.octoprint_printing"], "fields": ["state", "last_updated", "attributes"], "attribute_keys": ["printTime", "printTimeLeft", "completion", "filepos", "printTimeLeftOrigin"]}, "execution_time_ms": 34.94381904602051, "success": true, "error_message": null, "response_size_bytes": 2485, "user_context": null}