From 990c3731830bc94344e4e17cedf13dda103badc4 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Sun, 23 Aug 2026 05:45:01 +0000 Subject: [PATCH] .ha_mcp/logs/mcp_usage.jsonl, automations.yaml --- .ha_mcp/logs/mcp_usage.jsonl | 1 + automations.yaml | 18 ------------------ 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index ed95d1fa..347d7259 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -1806,3 +1806,4 @@ {"timestamp": "2026-08-23T05:40:16.112775+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "automation", "service": "trigger", "entity_id": "automation.3d_print_complete_snapshot", "data": null, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 1686.882734298706, "success": true, "error_message": null, "response_size_bytes": 206, "user_context": null} {"timestamp": "2026-08-23T05:40:25.091857+00:00", "tool_name": "ha_get_automation_traces", "parameters": {"automation_id": "automation.3d_print_complete_snapshot", "run_id": null, "limit": 1, "deduplicate": true, "detailed": false, "sections": "actions", "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 12.108564376831055, "success": true, "error_message": null, "response_size_bytes": 447, "user_context": null} {"timestamp": "2026-08-23T05:44:46.656203+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_print_complete_snapshot", "python_transform": "for act in config[\"actions\"]:\\n if \"parallel\" in act: act[\"parallel\"] = [s for s in act[\"parallel\"] if s.get(\"action\") in (\"notify.mobile_app_sm_f956w\", \"telegram_bot.send_photo\")]", "config_hash": "33ecc92b2b703793", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 56.000709533691406, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression validation failed: Syntax error: unexpected character after line continuation character (, line 1)\",\n \"suggestion\": \"Remove the leading backslash before quotes \\u2014 write \\\"foo\\\" not \\\\\\\"foo\\\\\\\" in the Python source.\",\n \"suggestions\": [\n \"Remove the leading backslash before quotes \\u2014 write \\\"foo\\\" not \\\\\\\"foo\\\\\\\" in the Python source.\",\n \"Check expression syntax\",\n \"Ensure only allowed operations are used\",\n \"See tool description for allowed operations\",\n \"Expression: for act in config[\\\"actions\\\"]:\\\\n if \\\"parallel\\\" in act: act[\\\"parallel\\\"] = [s for s in act[\\\"parallel...\",\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 \"action\": \"python_transform\",\n \"identifier\": \"automation.3d_print_complete_snapshot\"\n}", "response_size_bytes": null, "user_context": null} +{"timestamp": "2026-08-23T05:44:55.308754+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_print_complete_snapshot", "python_transform": "keep = (\"notify.mobile_app_sm_f956w\", \"telegram_bot.send_photo\"); [act.update(parallel=[s for s in act[\"parallel\"] if s.get(\"action\") in keep]) for act in config[\"actions\"] if \"parallel\" in act]", "config_hash": "33ecc92b2b703793", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 328.46951484680176, "success": true, "error_message": null, "response_size_bytes": 540, "user_context": null} diff --git a/automations.yaml b/automations.yaml index c6cd6ef3..b68d94e5 100644 --- a/automations.yaml +++ b/automations.yaml @@ -3308,24 +3308,6 @@ message: Print finished successfully at {{ now().strftime('%H:%M') }}. data: image: /local/octoprint_snapshot.jpg - - action: notify.mobile_app_motorola_one_vision - data: - title: 3D print complete - message: Print finished successfully at {{ now().strftime('%H:%M') }}. - data: - image: /local/octoprint_snapshot.jpg - - action: notify.mobile_app_francos_ipad - data: - title: 3D print complete - message: Print finished successfully at {{ now().strftime('%H:%M') }}. - data: - image: /local/octoprint_snapshot.jpg - - action: notify.mobile_app_sm_t387w - data: - title: 3D print complete - message: Print finished successfully at {{ now().strftime('%H:%M') }}. - data: - image: /local/octoprint_snapshot.jpg - action: telegram_bot.send_photo data: entity_id: notify.franco