.ha_mcp/logs/mcp_usage.jsonl
This commit is contained in:
@@ -2318,3 +2318,8 @@
|
||||
{"timestamp": "2026-08-26T05:15:39.589475+00:00", "tool_name": "ha_get_automation_traces", "parameters": {"automation_id": "automation.office_lamp_and_lights_control", "run_id": "6dbc4b6de68d2a81158d361e967eb978", "limit": 10, "deduplicate": false, "detailed": true, "sections": "trigger,conditions,config,error", "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 12.71677017211914, "success": true, "error_message": null, "response_size_bytes": 585, "user_context": null}
|
||||
{"timestamp": "2026-08-26T05:17:18.317997+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{{ device_entities('c9c7e25e54eb6ac497a6791fe9cf70fe') | select('match', '^event\\\\.') | list }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 9.224176406860352, "success": true, "error_message": null, "response_size_bytes": 591, "user_context": null}
|
||||
{"timestamp": "2026-08-26T05:17:18.931705+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{{ device_entities('c9c7e25e54eb6ac497a6791fe9cf70fe') | select('match', '^sensor\\\\..+_switch_position') | list }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 12.091636657714844, "success": true, "error_message": null, "response_size_bytes": 772, "user_context": null}
|
||||
{"timestamp": "2026-08-26T05:18:16.587075+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set entities = device_entities('c9c7e25e54eb6ac497a6791fe9cf70fe') | select('match', '^event\\\\.') | list %}{% for e in entities %}{{ e }}: state={{ states(e) }}, last_changed={{ states(e).last_changed }}{{ '\\n' }}{% endfor %}", "timeout": 3, "report_errors": true}, "execution_time_ms": 13.921022415161133, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"SERVICE_CALL_FAILED\",\n \"message\": \"Command failed: {}\",\n \"suggestion\": \"Check template syntax - ensure proper Jinja2 formatting\",\n \"suggestions\": [\n \"Check template syntax - ensure proper Jinja2 formatting\",\n \"Verify entity_ids exist using ha_get_state()\",\n \"Use default values: {{ states('sensor.temp') | float(0) }}\",\n \"Check for typos in function names and entity references\",\n \"Test simpler templates first to isolate issues\"\n ]\n },\n \"template\": \"{% set entities = device_entities('c9c7e25e54eb6ac497a6791fe9cf70fe') | select('match', '^event\\\\\\\\.') | list %}{% for e in entities %}{{ e }}: state={{ states(e) }}, last_changed={{ states(e).last_changed }}{{ '\\\\n' }}{% endfor %}\",\n \"request_id\": 496573\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-08-26T05:18:17.698513+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set entities = device_entities('c9c7e25e54eb6ac497a6791fe9cf70fe') | select('match', '^sensor\\\\..+_switch_position') | list %}{% for e in entities %}{{ e }}: state={{ states(e) }}, last_changed={{ states(e).last_changed }}{{ '\\n' }}{% endfor %}", "timeout": 3, "report_errors": true}, "execution_time_ms": 6.258964538574219, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"SERVICE_CALL_FAILED\",\n \"message\": \"Command failed: {}\",\n \"suggestion\": \"Check template syntax - ensure proper Jinja2 formatting\",\n \"suggestions\": [\n \"Check template syntax - ensure proper Jinja2 formatting\",\n \"Verify entity_ids exist using ha_get_state()\",\n \"Use default values: {{ states('sensor.temp') | float(0) }}\",\n \"Check for typos in function names and entity references\",\n \"Test simpler templates first to isolate issues\"\n ]\n },\n \"template\": \"{% set entities = device_entities('c9c7e25e54eb6ac497a6791fe9cf70fe') | select('match', '^sensor\\\\\\\\..+_switch_position') | list %}{% for e in entities %}{{ e }}: state={{ states(e) }}, last_changed={{ states(e).last_changed }}{{ '\\\\n' }}{% endfor %}\",\n \"request_id\": 497692\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-08-26T05:18:22.718589+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{{ states('event.office_office_scroll_wheel_button_3') }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 8.690834045410156, "success": true, "error_message": null, "response_size_bytes": 177, "user_context": null}
|
||||
{"timestamp": "2026-08-26T05:18:22.898572+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{{ states('sensor.office_office_scroll_wheel_current_switch_position_3') }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 8.660316467285156, "success": true, "error_message": null, "response_size_bytes": 165, "user_context": null}
|
||||
{"timestamp": "2026-08-26T05:18:23.237306+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{{ state_attr('event.office_office_scroll_wheel_button_3', 'event_type') }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 6.653070449829102, "success": true, "error_message": null, "response_size_bytes": 179, "user_context": null}
|
||||
|
||||
Reference in New Issue
Block a user