.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-07-28 19:42:59 +00:00
parent 3c9310c897
commit 260cbb641d
+1
View File
@@ -174,3 +174,4 @@
{"timestamp": "2026-07-28T19:41:31.745516+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.hallway_camera_motion_snapshot"}, "execution_time_ms": 51.923274993896484, "success": true, "error_message": null, "response_size_bytes": 2021, "user_context": null}
{"timestamp": "2026-07-28T19:41:36.145461+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.hallway_camera_motion_snapshot", "python_transform": "config['actions'][0]['variables']['snapshot_filename'] = \"hallway_{{ now().strftime('%Y%m%d_%H%M%S') }}.png\"\nconfig['actions'][2]['data']['attachments'][0]['media_content_type'] = \"image/png\"\nconfig['actions'][4]['data']['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 }})\"", "config_hash": "bacee7956ed93ba5", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 241.77813529968262, "success": true, "error_message": null, "response_size_bytes": 816, "user_context": null}
{"timestamp": "2026-07-28T19:42:36.089282+00:00", "tool_name": "ha_get_integration", "parameters": {"entry_id": null, "query": null, "domain": "python_script", "include_options": false, "include_schema": false, "include_subentries": false, "include_subentry_schema": false, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "exact_match": true, "limit": 50, "offset": 0, "include_diagnostics": false, "include_knx_project": false, "device_id": null, "diagnostics_fields": null, "diagnostics_truncate_at_bytes": null, "diagnostics_data_path": null, "diagnostics_data_offset": 0, "diagnostics_data_limit": null}, "execution_time_ms": 7.100820541381836, "success": true, "error_message": null, "response_size_bytes": 198, "user_context": null}
{"timestamp": "2026-07-28T19:42:52.258423+00:00", "tool_name": "ha_get_logs", "parameters": {"source": "system", "limit": null, "search": "shell_command", "order": "newest", "hours_back": 2, "entity_id": null, "end_time": null, "offset": 0, "compact": true, "level": null, "slug": null}, "execution_time_ms": 23.170948028564453, "success": true, "error_message": null, "response_size_bytes": 1325, "user_context": null}