.ha_mcp/logs/mcp_usage.jsonl
This commit is contained in:
@@ -4500,3 +4500,4 @@
|
||||
{"timestamp": "2026-10-14T17:07:51.836219+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "sparkx-i7", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "__list__", "mode": null, "query": null}, "execution_time_ms": 195.58191299438477, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"Dashboard view path '__list__' is not found.\",\n \"suggestion\": \"Use a view_path returned by ha_config_get_dashboard\"\n },\n \"url_path\": \"sparkx-i7\",\n \"view_path\": \"__list__\",\n \"available_view_paths\": [\n \"print\",\n \"history\",\n \"cfs-fans\",\n \"spoolman\"\n ]\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-10-14T17:07:53.983578+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "sparkx-i7", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "cfs-fans", "mode": null, "query": null}, "execution_time_ms": 36.2553596496582, "success": true, "error_message": null, "response_size_bytes": 6488, "user_context": null}
|
||||
{"timestamp": "2026-10-14T17:08:24.543434+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% for n in ['1','2','3','4'] %}\n{% set c = states('sensor.sparkx_i7_cfs_box_1_slot_' ~ n ~ '_color') | replace('#','') | lower %}\n{% set ns = namespace(id='', rem=0) %}\n{% for e in integration_entities('spoolman') if e.endswith('_color_hex') %}\n{% if ns.id == '' and (states(e) | replace('#','') | lower) == c and (state_attr(e[:-10], 'location') | default('', true) | lower) == 'cfs lite' %}\n{% set ns.id = states(e[:-10] ~ '_id') %}\n{% set ns.rem = states(e[:-10]) | float(0) %}\n{% endif %}\n{% endfor %}\n{% set cname = states('sensor.sparkx_i7_slot_' ~ n ~ '_color_name') %}\n{{ n }} | color={{ c }} | name={{ cname }} | pct={{ states('sensor.sparkx_i7_cfs_box_1_slot_' ~ n ~ '_remaining') }} | filament={{ states('sensor.sparkx_i7_cfs_box_1_slot_' ~ n ~ '_filament') }} | spool={{ ns.id }} | spool_g={{ ns.rem | round(1) }}\n{% endfor %}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 96.50087356567383, "success": true, "error_message": null, "response_size_bytes": 2604, "user_context": null}
|
||||
{"timestamp": "2026-10-14T17:11:23.484675+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.spoolman_spool_3", "sensor.spoolman_spool_4", "sensor.spoolman_spool_5", "sensor.spoolman_spool_8"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": ["filament_weight", "used_weight", "used_percentage", "remaining_weight", "initial_weight", "remaining_length", "used_length", "filament_name", "location"]}, "execution_time_ms": 178.58076095581055, "success": true, "error_message": null, "response_size_bytes": 1920, "user_context": null}
|
||||
|
||||
Reference in New Issue
Block a user