From 0a826e974e0049e1e49740d78e5902d5ac9eb915 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Tue, 28 Jul 2026 19:35:38 +0000 Subject: [PATCH] .ha_mcp/logs/mcp_usage.jsonl --- .ha_mcp/logs/mcp_usage.jsonl | 1 + 1 file changed, 1 insertion(+) diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 0c07161..bf88c13 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -160,3 +160,4 @@ {"timestamp": "2026-07-28T19:33:52.642180+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "Hallway Camera Motion Snapshot", "description": "Takes a snapshot when the Hallway Nest camera detects motion, analyzes it with AI, and sends a notification and persistent notification.", "id": "1785267128982", "triggers": [{"trigger": "event.received", "target": {"entity_id": "event.hallway_hallway_camera_motion"}, "options": {"event_type": ["camera_motion", "camera_person", "camera_sound"]}}], "actions": [{"variables": {"snapshot_filename": "hallway_{{ now().strftime('%Y%m%d_%H%M%S') }}.jpg", "notification_id": "hallway_motion_{{ now().strftime('%Y%m%d_%H%M%S_%f') }}"}}, {"action": "camera.snapshot", "target": {"entity_id": "camera.hallway_hallway_camera"}, "data": {"filename": "/media/{{ snapshot_filename }}"}}, {"action": "camera.snapshot", "target": {"entity_id": "camera.hallway_hallway_camera"}, "data": {"filename": "/config/www/{{ snapshot_filename }}"}}, {"delay": {"seconds": 2}}, {"action": "ai_task.generate_data", "continue_on_error": true, "response_variable": "ai_profile", "data": {"task_name": "Hallway Camera Analysis", "entity_id": "ai_task.ollama_ai_task_video", "instructions": "Describe what you see in this image in brief. Focus on any people, objects, or activities. Text needs to be max 240 characters.", "attachments": [{"media_content_id": "[REDACTED]", "media_content_type": "[REDACTED]"}]}}, {"action": "notify.notify", "continue_on_error": true, "data": {"title": "Motion Detected - Hallway", "message": "{{ ai_profile.data if ai_profile is defined and 'data' in ai_profile else 'Motion detected, but the AI Task integration failed to return a response.' }}"}}, {"action": "persistent_notification.create", "data": {"title": "Motion Detected - Hallway", "message": "{{ ai_profile.data if ai_profile is defined and 'data' in ai_profile else 'Motion detected, but the AI Task integration failed to return a response.' }}\n![Snapshot](/local/{{ snapshot_filename }})", "notification_id": "{{ notification_id }}"}}], "mode": "queued", "max": 10}, "identifier": "automation.hallway_camera_motion_snapshot", "python_transform": null, "config_hash": "41fed9da62581220", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 224.75481033325195, "success": true, "error_message": null, "response_size_bytes": 168, "user_context": null} {"timestamp": "2026-07-28T19:35:10.351729+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "event.hallway_hallway_camera_motion", "fields": null, "attribute_keys": null}, "execution_time_ms": 24.082183837890625, "success": true, "error_message": null, "response_size_bytes": 930, "user_context": null} {"timestamp": "2026-07-28T19:35:14.714688+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "camera.hallway_hallway_camera", "fields": null, "attribute_keys": null}, "execution_time_ms": 5.452632904052734, "success": true, "error_message": null, "response_size_bytes": 1009, "user_context": null} +{"timestamp": "2026-07-28T19:35:31.890141+00:00", "tool_name": "ha_list_services", "parameters": {"domain": "camera", "query": null, "limit": 50, "offset": 0, "detail_level": "summary", "service_fields": null, "fields": null}, "execution_time_ms": 38.99884223937988, "success": true, "error_message": null, "response_size_bytes": 1383, "user_context": null}