diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 87196f98..fd01ac55 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -4224,3 +4224,6 @@ {"timestamp": "2026-10-09T22:04:51.787426+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": 4.680633544921875, "success": true, "error_message": null, "response_size_bytes": 1013, "user_context": null} {"timestamp": "2026-10-09T22:06:28.698401+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": "spoolman", "mode": null, "query": null}, "execution_time_ms": 41.74971580505371, "success": true, "error_message": null, "response_size_bytes": 35576, "user_context": null} {"timestamp": "2026-10-09T22:06:32.812327+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "sparkx-i7", "config": null, "python_transform": "c0 = config['views'][3]['sections'][0]['cards'][11]\nif c0.get('type') == 'custom:auto-entities' and c0.get('card', {}).get('type') == 'custom:filament-card':\n config['views'][3]['sections'][0]['cards'][11] = c0['card']\n config['views'][3]['sections'][0]['cards'][11]['spool_location'] = 'CFS Lite'\nc1 = config['views'][3]['sections'][5]['cards'][1]\nif c1.get('type') == 'custom:auto-entities' and c1.get('card', {}).get('type') == 'custom:filament-card':\n config['views'][3]['sections'][5]['cards'][1] = c1['card']\n config['views'][3]['sections'][5]['cards'][1]['spool_location'] = 'CFS Lite'", "config_hash": "9c58befc4726d819", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null, "patch": null}, "execution_time_ms": 33.7834358215332, "success": true, "error_message": null, "response_size_bytes": 1440, "user_context": null} +{"timestamp": "2026-10-09T22:06:41.643221+00:00", "tool_name": "ha_reload_core", "parameters": {"target": "all", "entry_id": "01M4E507NTYVDXT6ZHX4HMX9XV"}, "execution_time_ms": 1760.0648403167725, "success": true, "error_message": null, "response_size_bytes": 166, "user_context": null} +{"timestamp": "2026-10-09T22:06:44.213668+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "sparkx-i7", "list_only": false, "force_reload": false, "entity_id": null, "card_type": "custom:filament-card", "heading": null, "include_config": true, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 60.11486053466797, "success": true, "error_message": null, "response_size_bytes": 2425, "user_context": null} +{"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}