.ha_mcp/logs/mcp_usage.jsonl
This commit is contained in:
@@ -3646,3 +3646,4 @@
|
||||
{"timestamp": "2026-09-17T14:37:12.978848+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{{ (now() - states['input_boolean.3d_printer_running'].last_changed).total_seconds() }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 27.90379524230957, "success": true, "error_message": null, "response_size_bytes": 188, "user_context": null}
|
||||
{"timestamp": "2026-09-17T14:37:18.274236+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set samples = [{'entity_id': 'input_boolean.3d_printer_running'},\n{'entity_id': ['input_boolean.3d_printer_running']},\n{'target': {'entity_id': 'input_boolean.3d_printer_running'}},\n{'target': {'area_id': 'printer'}},\n{'entity_id': 'input_boolean.other'}] %}\n{% for sd in samples %}\n{% set eid = sd.get('entity_id') if sd is mapping else none %}\n{% set tgt = sd.get('target', {}) if sd is mapping else {} %}\n{% set tid = tgt.get('entity_id') if tgt is mapping else none %}\n{% set hits = [] %}\n{% for item in [eid, tid] if item %}\n {% if item is string %}{% set hits = hits + [item] %}{% elif item is sequence %}{% set hits = hits + item %}{% endif %}\n{% endfor %}\n{{ sd }} => matched={{ 'input_boolean.3d_printer_running' in hits }}\n{% endfor %}", "timeout": 3, "report_errors": true}, "execution_time_ms": 42.06442832946777, "success": true, "error_message": null, "response_size_bytes": 1244, "user_context": null}
|
||||
{"timestamp": "2026-09-17T14:37:38.255760+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set sd = {'entity_id': 'input_boolean.3d_printer_running'} %}\n{% set eid = sd.get('entity_id') %}\n{% set tgt = sd.get('target', {}) %}\n{% set tid = tgt.get('entity_id') %}\neid={{ eid }} tid={{ tid }} target_is={{ tgt }}\n{{ 'input_boolean.3d_printer_running' == eid }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 12.509346008300781, "success": true, "error_message": null, "response_size_bytes": 430, "user_context": null}
|
||||
{"timestamp": "2026-09-17T14:37:52.230919+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set samples = [{'entity_id': 'input_boolean.3d_printer_running'}, {'entity_id': ['input_boolean.3d_printer_running']}, {'target': {'entity_id': 'input_boolean.3d_printer_running'}}, {'target': {'area_id': 'printer'}}, {'entity_id': 'input_boolean.other'}] %}\n{% for sd in samples %}\n{% set eid = sd.get('entity_id') if sd is mapping else none %}\n{% set tgt = sd.get('target', {}) if sd is mapping else {} %}\n{% set tid = tgt.get('entity_id') if tgt is mapping else none %}\n{% set ns = namespace(hits=[]) %}\n{% for item in [eid, tid] if item %}\n{% if item is string %}{% set ns.hits = ns.hits + [item] %}{% elif item is sequence %}{% set ns.hits = ns.hits + item %}{% endif %}\n{% endfor %}\n{{ sd }} => matched={{ 'input_boolean.3d_printer_running' in ns.hits }}\n{% endfor %}", "timeout": 3, "report_errors": true}, "execution_time_ms": 64.96596336364746, "success": true, "error_message": null, "response_size_bytes": 1258, "user_context": null}
|
||||
|
||||
Reference in New Issue
Block a user