.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-09-18 13:33:56 +00:00
parent 9f1571dc29
commit 54802ec415
+1
View File
@@ -3677,3 +3677,4 @@
{"timestamp": "2026-09-18T13:30:51.899119+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"id": "1771000000001", "alias": "3D PRINTER: IKEA BILRESA E2489 Dual Button (Matter) - Cancel & Park", "description": "Button 1 single press cancels the active OctoPrint print, waits 5s, then parks the nozzle via rest_command.", "use_blueprint": {"path": "censay/ikea-bilresa-e2489-matter-smart-button.yaml", "input": {"target_device": "c2a0b26ffccdfc1fcde0c1b4700d1d0f", "button1_event": "event.3d_printer_control_button_1", "button2_event": "event.3d_printer_control_button_2", "button1_single": [{"action": "button.press", "target": {"entity_id": "[REDACTED]"}}, {"delay": "00:00:05"}, {"action": "rest_command.octoprint_park_nozzle"}]}}}, "identifier": null, "python_transform": null, "config_hash": null, "take_control_of_blueprint": false, "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 0.14328956604003906, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Config contains 'id' field ('1771000000001') but no identifier was provided. This would create a duplicate automation instead of updating the existing one.\",\n \"details\": \"To update, pass identifier='1771000000001' (or the automation's entity_id). To create a genuinely new automation, remove the 'id' field from the config.\",\n \"suggestion\": \"Check the parameter values and format against the tool documentation\",\n \"suggestions\": [\n \"Check the parameter values and format against the tool documentation\",\n \"Review the message and details fields for the specific constraint that failed\",\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 \"parameter\": \"identifier\"\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-09-18T13:31:41.895576+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"id": "1771000000001", "alias": "3D PRINTER: IKEA BILRESA E2489 Dual Button (Matter) - Cancel & Park", "description": "Button 1 single press cancels the active OctoPrint print, waits 5s, then parks the nozzle via rest_command.", "use_blueprint": {"path": "censay/ikea-bilresa-e2489-matter-smart-button.yaml", "input": {"target_device": "c2a0b26ffccdfc1fcde0c1b4700d1d0f", "button1_event": "event.3d_printer_control_button_1", "button2_event": "event.3d_printer_control_button_2", "button1_single": [{"action": "button.press", "target": {"entity_id": "[REDACTED]"}}, {"delay": "00:00:05"}, {"action": "rest_command.octoprint_park_nozzle"}]}}}, "identifier": "1771000000001", "python_transform": null, "config_hash": null, "take_control_of_blueprint": false, "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 510.6813907623291, "success": true, "error_message": null, "response_size_bytes": 183, "user_context": null}
{"timestamp": "2026-09-18T13:31:45.975561+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "1771000000001"}, "execution_time_ms": 387.07971572875977, "success": true, "error_message": null, "response_size_bytes": 834, "user_context": null}
{"timestamp": "2026-09-18T13:33:49.142531+00:00", "tool_name": "ha_get_automation_traces", "parameters": {"automation_id": "automation.3d_printer_ikea_bilresa_e2489_dual_button_matter_cancel_park", "run_id": null, "limit": 10, "deduplicate": true, "detailed": false, "sections": null, "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 98.81258010864258, "success": true, "error_message": null, "response_size_bytes": 789, "user_context": null}