.ha_mcp/logs/mcp_usage.jsonl, automations.yaml

This commit is contained in:
Home Assistant Version Control
2026-07-29 15:34:16 +00:00
parent 80197b229a
commit 95d8e1ef33
2 changed files with 13 additions and 0 deletions
+2
View File
@@ -284,3 +284,5 @@
{"timestamp": "2026-07-29T15:22:43.998766+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set ns = namespace() %}\n{% set integrations = services | list %}\n{{ integrations | select('search', 'python') | list }}\n", "timeout": 3, "report_errors": true}, "execution_time_ms": 13.46588134765625, "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 ns = namespace() %}\\n{% set integrations = services | list %}\\n{{ integrations | select('search', 'python') | list }}\\n\",\n \"request_id\": 563985\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-07-29T15:30:44.054548+00:00", "tool_name": "ha_reload_core", "parameters": {"target": "all", "entry_id": null}, "execution_time_ms": 1941.3788318634033, "success": true, "error_message": null, "response_size_bytes": 278, "user_context": null}
{"timestamp": "2026-07-29T15:30:48.414910+00:00", "tool_name": "ha_list_services", "parameters": {"domain": "nest_snapshot", "query": null, "limit": 50, "offset": 0, "detail_level": "summary", "service_fields": null, "fields": null}, "execution_time_ms": 37.14609146118164, "success": true, "error_message": null, "response_size_bytes": 234, "user_context": null}
{"timestamp": "2026-07-29T15:34:10.218740+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "TEST: Nest Snapshot Capture", "description": "Manual test for nest_snapshot.capture. Trigger from Developer Tools after restart.", "triggers": [], "actions": [{"action": "nest_snapshot.capture", "data": {"entity_id": "camera.front_door_front_door", "filename": "/media/nest_snapshot_test_{{ now().strftime('%Y%m%d_%H%M%S') }}.jpg"}}], "mode": "single"}, "identifier": null, "python_transform": null, "config_hash": null, "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 712.5449180603027, "success": true, "error_message": null, "response_size_bytes": 59741, "user_context": null}
{"timestamp": "2026-07-29T15:34:13.821089+00:00", "tool_name": "ha_search", "parameters": {"query": "TEST: Nest Snapshot Capture", "domain_filter": "automation", "area_filter": null, "search_types": null, "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 163.50626945495605, "success": true, "error_message": null, "response_size_bytes": 972, "user_context": null}
+11
View File
@@ -3072,3 +3072,14 @@
data:
transition: 1
mode: single
- id: '1785339249610'
alias: 'TEST: Nest Snapshot Capture'
description: Manual test for nest_snapshot.capture. Trigger from Developer Tools
after restart.
triggers: []
actions:
- action: nest_snapshot.capture
data:
entity_id: camera.front_door_front_door
filename: /media/nest_snapshot_test_{{ now().strftime('%Y%m%d_%H%M%S') }}.jpg
mode: single