diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 0e6d6e7..c528f9b 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -26,3 +26,4 @@ {"timestamp": "2026-07-24T19:54:30.092233+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "MCP Backup Test", "description": "Test automation to verify ha-direct backup functionality", "triggers": [{"trigger": "state", "entity_id": "sun.sun", "to": "above_horizon"}], "actions": [{"action": "notify.notify", "data": {"title": "MCP Test", "message": "Automation created via ha-direct!"}}]}, "identifier": null, "python_transform": null, "config_hash": null, "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 184.21363830566406, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"INTERNAL_ERROR\",\n \"message\": \"An unexpected error occurred\",\n \"details\": \"Task cb=[TaskGroup._spawn..task_done() at /usr/local/lib/python3.14/site-packages/anyio/_backends/_asyncio.py:821]> got Future ._outer_done_callback() at /usr/local/lib/python3.14/asyncio/tasks.py:993]> attached to a different loop\",\n \"suggestion\": \"Check automation configuration format\",\n \"suggestions\": [\n \"Check automation configuration format\",\n \"Ensure required fields: alias, triggers, actions\",\n \"Use entity_id format: automation.morning_routine or unique_id\",\n \"Use ha_search(domain_filter='automation') to find automations\",\n \"Use ha_get_skill_guide for automation examples\",\n \"For Home Assistant best-practice guidance, call ha_get_skill_guide(skill='home-assistant-best-practices') and consult the relevant reference file before retrying.\"\n ]\n },\n \"identifier\": null\n}", "response_size_bytes": null, "user_context": null} {"timestamp": "2026-07-24T19:56:42.143335+00:00", "tool_name": "ha_report_issue", "parameters": {"tool_call_count": 10, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 2310.1723194122314, "success": true, "error_message": null, "response_size_bytes": 63933, "user_context": null} {"timestamp": "2026-07-24T20:05:38.053238+00:00", "tool_name": "ha_manage_backup", "parameters": {"scope": "edits", "action": "list", "name": null, "backup_id": null, "restore_database": false, "confirm": false, "domain": null, "entity_id": null, "backup_name": null, "older_than_days": null, "limit": 200, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 18.32437515258789, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"COMPONENT_NOT_INSTALLED\",\n \"message\": \"The installed ha_mcp_tools custom component is too old: the get_caller_token bootstrap service is not registered (pre-0.5.0). This ha-mcp release requires >= 1.2.0. Update via HACS and restart Home Assistant.\",\n \"suggestion\": \"HACS \\u2192 Integrations \\u2192 HA-MCP Custom Component \\u2192 Update\",\n \"suggestions\": [\n \"HACS \\u2192 Integrations \\u2192 HA-MCP Custom Component \\u2192 Update\",\n \"Restart Home Assistant after update completes\",\n \"Then retry the operation\"\n ]\n }\n}", "response_size_bytes": null, "user_context": null} +{"timestamp": "2026-07-24T20:06:04.064491+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.morning_routine"}, "execution_time_ms": 202.06522941589355, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"Automation not found: automation.morning_routine\",\n \"suggestion\": \"Use ha_search(domain_filter='automation') to find existing automations\"\n },\n \"automation_id\": \"automation.morning_routine\",\n \"available_automation_ids\": [\n \"automation.tablet_dim_screen_at_night\",\n \"automation.tablet_restore_screen_in_morning\",\n \"automation.reload_hilo_integrations_on_reboot\",\n \"automation.notify_when_ring_console_battery_low\",\n \"automation.notify_when_front_door_sensor_battery_low\",\n \"automation.alert_fridge_or_freezer_power_outage\",\n \"automation.kitchen_coffee_maker_active_notification\",\n \"automation.office_turn_on_lights_on_motion\",\n \"automation.office_turn_off_lights_on_exit\",\n \"automation.water_leak_detected\"\n ]\n}", "response_size_bytes": null, "user_context": null}