.ha_mcp/logs/mcp_usage.jsonl, automations.yaml

This commit is contained in:
Home Assistant Version Control
2026-08-23 05:23:47 +00:00
parent 1242d9cbf4
commit f42b353b3f
2 changed files with 10 additions and 4 deletions
+1
View File
@@ -1786,3 +1786,4 @@
{"timestamp": "2026-08-23T05:18:23.981882+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": 273.67258071899414, "success": true, "error_message": null, "response_size_bytes": 206, "user_context": null} {"timestamp": "2026-08-23T05:18:23.981882+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": 273.67258071899414, "success": true, "error_message": null, "response_size_bytes": 206, "user_context": null}
{"timestamp": "2026-08-23T05:18:42.932497+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": 5.420923233032227, "success": true, "error_message": null, "response_size_bytes": 447, "user_context": null} {"timestamp": "2026-08-23T05:18:42.932497+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": 5.420923233032227, "success": true, "error_message": null, "response_size_bytes": 447, "user_context": null}
{"timestamp": "2026-08-23T05:20:26.570093+00:00", "tool_name": "ha_get_camera_image", "parameters": {"entity_id": "camera.endercamera_duckdns_org", "width": 640, "height": 480}, "execution_time_ms": 685.5568885803223, "success": true, "error_message": null, "response_size_bytes": null, "user_context": null} {"timestamp": "2026-08-23T05:20:26.570093+00:00", "tool_name": "ha_get_camera_image", "parameters": {"entity_id": "camera.endercamera_duckdns_org", "width": 640, "height": 480}, "execution_time_ms": 685.5568885803223, "success": true, "error_message": null, "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-08-23T05:23:42.139820+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\"]; config[\"actions\"] = [{\"action\": \"camera.snapshot\", \"target\": {\"entity_id\": \"camera.endercamera_duckdns_org\"}, \"data\": {\"filename\": \"/config/www/octoprint_snapshot.jpg\"}}, {\"parallel\": [{\"action\": t, \"data\": payload} for t in targets]}]", "config_hash": "ae6860c7a9dcfcde", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1341.2485122680664, "success": true, "error_message": null, "response_size_bytes": 900, "user_context": null}
+9 -4
View File
@@ -3296,31 +3296,36 @@
to: PrintDone to: PrintDone
trigger: state trigger: state
actions: actions:
- action: camera.snapshot
target:
entity_id: camera.endercamera_duckdns_org
data:
filename: /config/www/octoprint_snapshot.jpg
- parallel: - parallel:
- action: notify.mobile_app_sm_f956w - action: notify.mobile_app_sm_f956w
data: data:
title: 3D print complete title: 3D print complete
message: Print finished successfully at {{ now().strftime('%H:%M') }}. message: Print finished successfully at {{ now().strftime('%H:%M') }}.
data: data:
entity_id: camera.endercamera_duckdns_org image: /local/octoprint_snapshot.jpg
- action: notify.mobile_app_motorola_one_vision - action: notify.mobile_app_motorola_one_vision
data: data:
title: 3D print complete title: 3D print complete
message: Print finished successfully at {{ now().strftime('%H:%M') }}. message: Print finished successfully at {{ now().strftime('%H:%M') }}.
data: data:
entity_id: camera.endercamera_duckdns_org image: /local/octoprint_snapshot.jpg
- action: notify.mobile_app_francos_ipad - action: notify.mobile_app_francos_ipad
data: data:
title: 3D print complete title: 3D print complete
message: Print finished successfully at {{ now().strftime('%H:%M') }}. message: Print finished successfully at {{ now().strftime('%H:%M') }}.
data: data:
entity_id: camera.endercamera_duckdns_org image: /local/octoprint_snapshot.jpg
- action: notify.mobile_app_sm_t387w - action: notify.mobile_app_sm_t387w
data: data:
title: 3D print complete title: 3D print complete
message: Print finished successfully at {{ now().strftime('%H:%M') }}. message: Print finished successfully at {{ now().strftime('%H:%M') }}.
data: data:
entity_id: camera.endercamera_duckdns_org image: /local/octoprint_snapshot.jpg
mode: single mode: single
- id: '1787462157568' - id: '1787462157568'
alias: 3D Print Early Layers Snapshot alias: 3D Print Early Layers Snapshot