.ha_mcp/logs/mcp_usage.jsonl
This commit is contained in:
@@ -1252,3 +1252,5 @@
|
||||
{"timestamp": "2026-08-14T16:13:07.510871+00:00", "tool_name": "ha_get_integration", "parameters": {"entry_id": "01KZE886307286YXMBE4G8435Y", "query": null, "domain": null, "include_options": true, "include_schema": false, "include_subentries": false, "include_subentry_schema": false, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "exact_match": true, "limit": 50, "offset": 0, "include_diagnostics": false, "include_knx_project": false, "device_id": null, "diagnostics_fields": null, "diagnostics_truncate_at_bytes": null, "diagnostics_data_path": null, "diagnostics_data_offset": 0, "diagnostics_data_limit": null}, "execution_time_ms": 80.42407035827637, "success": true, "error_message": null, "response_size_bytes": 910, "user_context": null}
|
||||
{"timestamp": "2026-08-14T16:13:24.037638+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.octoprint_print_progress", "sensor.octoprint_print_time_left", "sensor.octoprint_print_status", "sensor.octoprint_print_file", "sensor.octoprint_approximate_total_print_time", "sensor.octoprint_approximate_completion_time", "sensor.octoprint_current_z", "sensor.octoprint_print_time"], "fields": ["state", "attributes", "last_updated"], "attribute_keys": ["unit_of_measurement", "device_class", "state_class"]}, "execution_time_ms": 43.50638389587402, "success": true, "error_message": null, "response_size_bytes": 2074, "user_context": null}
|
||||
{"timestamp": "2026-08-14T16:13:24.153008+00:00", "tool_name": "ha_get_entity", "parameters": {"entity_id": "\"sensor.octoprint_print_time_left_live\"", "unique_id": null, "domain": null, "platform": null}, "execution_time_ms": 2.512693405151367, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"SERVICE_CALL_FAILED\",\n \"message\": \"Entity not found: Command failed: Entity ID \\\"sensor.octoprint_print_time_left_live\\\" is an invalid entity ID for dictionary value @ data['entity_id']. Got '\\\"sensor.octoprint_print_time_left_live\\\"'\",\n \"suggestion\": \"Use ha_search() to find valid entity IDs\",\n \"suggestions\": [\n \"Use ha_search() to find valid entity IDs\",\n \"Check the entity_id spelling and format (e.g., 'sensor.temperature')\"\n ]\n },\n \"entity_id\": \"\\\"sensor.octoprint_print_time_left_live\\\"\"\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"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}
|
||||
|
||||
Reference in New Issue
Block a user