.ha_mcp/logs/mcp_usage.jsonl
This commit is contained in:
@@ -4229,3 +4229,6 @@
|
||||
{"timestamp": "2026-10-09T22:06:44.230108+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set card_spools = states.sensor | selectattr('attributes.filament_material', 'defined') | selectattr('attributes.location', 'defined') | selectattr('attributes.location', 'lower', 'cfs lite') | selectattr('attributes.archived', 'eq', false) | map(attribute='entity_id') | list | sort %}{% set all_spools = states.sensor | selectattr('attributes.filament_material', 'defined') | map(attribute='entity_id') | list | sort %}{{ 'PATCHED card logic (CFS Lite): ' ~ (card_spools | join(', ')) ~ ' || all filament spools in HA: ' ~ (all_spools | join(', ')) }}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 92.0114517211914, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"TypeError: test_lower() takes 1 positional argument but 2 were given\",\n \"suggestion\": \"Fix the template at the reported line, if one is given, then evaluate it again\",\n \"suggestions\": [\n \"Fix the template at the reported line, if one is given, then evaluate it again\",\n \"Use default values for missing data: {{ states('sensor.temp') | float(0) }}\",\n \"Verify entity_ids exist using ha_get_state() or ha_search()\",\n \"Pass values the template expects through 'variables'\"\n ]\n },\n \"template\": \"{% set card_spools = states.sensor | selectattr('attributes.filament_material', 'defined') | selectattr('attributes.location', 'defined') | selectattr('attributes.location', 'lower', 'cfs lite') | selectattr('attributes.archived', 'eq', false) | map(attribute='entity_id') | list | sort %}{% set all_spools = states.sensor | selectattr('attributes.filament_material', 'defined') | map(attribute='entity_id') | list | sort %}{{ 'PATCHED card logic (CFS Lite): ' ~ (card_spools | join(', ')) ~ ' || all filament spools in HA: ' ~ (all_spools | join(', ')) }}\",\n \"line\": 1,\n \"source_line\": \"{% set card_spools = states.sensor | selectattr('attributes.filament_material', 'defined') | selectattr('attributes.location', 'defined') | selectattr('attributes.location', 'lower', 'cfs lite') | selectattr('attributes.archived', 'eq', false) | map(attribute='entity_id') | list | sort %}{% set all_spools = states.sensor | selectattr('attributes.filament_material', 'defined') | map(attribute='entity_id') | list | sort %}{{ 'PATCHED card logic (CFS Lite): ' ~ (card_spools | join(', ')) ~ ' || all filament spools in HA: ' ~ (all_spools | join(', ')) }}\"\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-10-09T22:06:47.733052+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.spoolman_spool_3", "sensor.spoolman_spool_7"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": ["location", "filament_material", "archived"]}, "execution_time_ms": 2.1505355834960938, "success": true, "error_message": null, "response_size_bytes": 740, "user_context": null}
|
||||
{"timestamp": "2026-10-09T22:06:48.054701+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set card_spools = states.sensor | selectattr('attributes.filament_material', 'defined') | selectattr('attributes.location', 'defined') | selectattr('attributes.location', 'eq', 'CFS Lite') | selectattr('attributes.archived', 'eq', false) | map(attribute='entity_id') | list | sort %}{% set all_spools = states.sensor | selectattr('attributes.filament_material', 'defined') | map(attribute='entity_id') | list | sort %}{{ 'PATCHED card logic (CFS Lite): ' ~ (card_spools | join(', ')) ~ ' || all filament spools in HA: ' ~ (all_spools | join(', ')) }}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 312.90650367736816, "success": true, "error_message": null, "response_size_bytes": 966, "user_context": null}
|
||||
{"timestamp": "2026-10-09T22:06:56.445120+00:00", "tool_name": "ha_reload_core", "parameters": {"target": "all", "entry_id": "01M4E507NTYVDXT6ZHX4HMX9XV"}, "execution_time_ms": 941.4112567901611, "success": true, "error_message": null, "response_size_bytes": 166, "user_context": null}
|
||||
{"timestamp": "2026-10-09T22:06:59.818846+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_6"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": ["location", "filament_material"]}, "execution_time_ms": 82.80396461486816, "success": true, "error_message": null, "response_size_bytes": 1013, "user_context": null}
|
||||
{"timestamp": "2026-10-09T22:06:59.823011+00:00", "tool_name": "ha_search", "parameters": {"query": "spoolman_spool_7", "domain_filter": "sensor", "area_filter": null, "search_types": null, "limit": 20, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": ["entity_id"], "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 86.20238304138184, "success": true, "error_message": null, "response_size_bytes": 682, "user_context": null}
|
||||
|
||||
Reference in New Issue
Block a user