From ece1b4538d9cf60488ef86b4d36a90dfff40b1cf Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Sun, 23 Aug 2026 05:47:41 +0000 Subject: [PATCH] .ha_mcp/logs/mcp_usage.jsonl, automations.yaml --- .ha_mcp/logs/mcp_usage.jsonl | 1 + automations.yaml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 3dc9816b..05ed2300 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -1811,3 +1811,4 @@ {"timestamp": "2026-08-23T05:45:23.470123+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": 1427.7763366699219, "success": true, "error_message": null, "response_size_bytes": 206, "user_context": null} {"timestamp": "2026-08-23T05:45:32.268288+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": 14.168024063110352, "success": true, "error_message": null, "response_size_bytes": 492, "user_context": null} {"timestamp": "2026-08-23T05:45:46.660980+00:00", "tool_name": "ha_get_automation_traces", "parameters": {"automation_id": "automation.3d_print_complete_snapshot", "run_id": "5d3edae73d0a73ffd505a2f0c544aea6", "limit": 10, "deduplicate": true, "detailed": false, "sections": "actions", "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 8.961915969848633, "success": true, "error_message": null, "response_size_bytes": 1641, "user_context": null} +{"timestamp": "2026-08-23T05:47:34.185249+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_print_complete_snapshot", "python_transform": "payload = {\"title\": \"3D print complete\", \"message\": \"Print finished successfully at {{ now().strftime('%H:%M') }}.\", \"data\": {\"image\": \"/local/octoprint_snapshot.jpg\"}}; targets = [\"notify.mobile_app_sm_f956w\", \"notify.mobile_app_motorola_one_vision\", \"notify.mobile_app_francos_ipad\", \"notify.mobile_app_sm_t387w\"]; steps = [{\"action\": t, \"data\": payload} for t in targets]; steps.append({\"action\": \"telegram_bot.send_photo\", \"data\": {\"entity_id\": \"notify.franco\", \"file\": \"/config/www/octoprint_snapshot.jpg\", \"caption\": \"Print finished successfully at {{ now().strftime('%H:%M') }}.\"}}); config[\"actions\"] = [{\"action\": \"camera.snapshot\", \"target\": {\"entity_id\": \"camera.endercamera_duckdns_org\"}, \"data\": {\"filename\": \"/config/www/octoprint_snapshot.jpg\"}}, {\"parallel\": steps}]", "config_hash": "291bc3e2984c7080", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 279.09350395202637, "success": true, "error_message": null, "response_size_bytes": 1132, "user_context": null} diff --git a/automations.yaml b/automations.yaml index d9b957f0..347ec937 100644 --- a/automations.yaml +++ b/automations.yaml @@ -3308,6 +3308,24 @@ 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