From 1f402783de063cf697fc9a5d32d7ca568df08c39 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Sun, 23 Aug 2026 05:39:52 +0000 Subject: [PATCH] .ha_mcp/logs/mcp_usage.jsonl, automations.yaml --- .ha_mcp/logs/mcp_usage.jsonl | 1 + automations.yaml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 21caa80a..18ee43ae 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -1801,3 +1801,4 @@ {"timestamp": "2026-08-23T05:39:02.416156+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "config_subentry", "name": null, "helper_id": null, "entry_id": "01M0PHYYXFVXEKPCZG8812AQE0", "subentry_type": "allowed_chat_ids", "subentry_id": null, "show_advanced_options": false, "icon": null, "area_id": null, "labels": null, "min_value": null, "max_value": null, "step": null, "unit_of_measurement": null, "options": null, "initial": null, "mode": null, "has_date": null, "has_time": null, "restore": null, "duration": null, "monday": null, "tuesday": null, "wednesday": null, "thursday": null, "friday": null, "saturday": null, "sunday": null, "latitude": null, "longitude": null, "radius": null, "passive": null, "user_id": null, "device_trackers": null, "picture": null, "tag_id": null, "description": null, "category": null, "config": {"chat_id": 6333035087}, "wait": true, "action": null, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 761.6710662841797, "success": true, "error_message": null, "response_size_bytes": 444, "user_context": null} {"timestamp": "2026-08-23T05:39:14.976779+00:00", "tool_name": "ha_search", "parameters": {"query": null, "domain_filter": "notify", "area_filter": null, "search_types": null, "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 353.940486907959, "success": true, "error_message": null, "response_size_bytes": 1338, "user_context": null} {"timestamp": "2026-08-23T05:39:28.714544+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "telegram_bot", "service": "send_photo", "entity_id": null, "data": {"caption": "Test from Home Assistant 🖨️", "entity_id": "notify.franco", "file": "/config/www/octoprint_snapshot.jpg"}, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 1439.4989013671875, "success": true, "error_message": null, "response_size_bytes": 300, "user_context": null} +{"timestamp": "2026-08-23T05:39:46.720234+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": "39f7c5a0caed91b5", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 374.1724491119385, "success": true, "error_message": null, "response_size_bytes": 1132, "user_context": null} diff --git a/automations.yaml b/automations.yaml index aa825573..f45c2a11 100644 --- a/automations.yaml +++ b/automations.yaml @@ -3326,6 +3326,11 @@ 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 + file: /config/www/octoprint_snapshot.jpg + caption: Print finished successfully at {{ now().strftime('%H:%M') }}. mode: single - id: '1787462157568' alias: 3D Print Early Layers Snapshot