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

This commit is contained in:
Home Assistant Version Control
2026-08-23 05:18:05 +00:00
parent 77971ace35
commit a0269cb85b
2 changed files with 26 additions and 11 deletions
+2
View File
@@ -1780,3 +1780,5 @@
{"timestamp": "2026-08-23T05:16:07.731745+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.3d_print_complete_snapshot"}, "execution_time_ms": 116.302490234375, "success": true, "error_message": null, "response_size_bytes": 788, "user_context": null} {"timestamp": "2026-08-23T05:16:07.731745+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.3d_print_complete_snapshot"}, "execution_time_ms": 116.302490234375, "success": true, "error_message": null, "response_size_bytes": 788, "user_context": null}
{"timestamp": "2026-08-23T05:16:52.724780+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": 27.84132957458496, "success": true, "error_message": null, "response_size_bytes": 206, "user_context": null} {"timestamp": "2026-08-23T05:16:52.724780+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": 27.84132957458496, "success": true, "error_message": null, "response_size_bytes": 206, "user_context": null}
{"timestamp": "2026-08-23T05:17:07.009246+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": null, "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 30.843019485473633, "success": true, "error_message": null, "response_size_bytes": 495, "user_context": null} {"timestamp": "2026-08-23T05:17:07.009246+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": null, "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 30.843019485473633, "success": true, "error_message": null, "response_size_bytes": 495, "user_context": null}
{"timestamp": "2026-08-23T05:17:59.447329+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.3d_print_early_layers_snapshot"}, "execution_time_ms": 576.2181282043457, "success": true, "error_message": null, "response_size_bytes": 920, "user_context": null}
{"timestamp": "2026-08-23T05:17:59.479897+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\": {\"entity_id\": \"camera.endercamera_duckdns_org\"}}; targets = [\"notify.mobile_app_sm_f956w\", \"notify.mobile_app_motorola_one_vision\", \"notify.mobile_app_francos_ipad\", \"notify.mobile_app_sm_t387w\"]; config[\"actions\"] = [{\"parallel\": [{\"action\": t, \"data\": payload} for t in targets]}]", "config_hash": "69f0a3e505c83e0a", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1825.2060413360596, "success": true, "error_message": null, "response_size_bytes": 755, "user_context": null}
+24 -11
View File
@@ -3296,18 +3296,31 @@
to: PrintDone to: PrintDone
trigger: state trigger: state
actions: actions:
- action: notify.send_message - parallel:
data: - action: notify.mobile_app_sm_f956w
data: data:
entity_id: camera.endercamera_duckdns_org title: 3D print complete
message: Print finished successfully at {{ now().strftime('%H:%M') }}. message: Print finished successfully at {{ now().strftime('%H:%M') }}.
title: 3D print complete data:
target: entity_id: camera.endercamera_duckdns_org
entity_id: - action: notify.mobile_app_motorola_one_vision
- notify.sm_f956w data:
- notify.motorola_one_vision title: 3D print complete
- notify.francos_ipad message: Print finished successfully at {{ now().strftime('%H:%M') }}.
- notify.sm_t387w data:
entity_id: camera.endercamera_duckdns_org
- action: notify.mobile_app_francos_ipad
data:
title: 3D print complete
message: Print finished successfully at {{ now().strftime('%H:%M') }}.
data:
entity_id: camera.endercamera_duckdns_org
- action: notify.mobile_app_sm_t387w
data:
title: 3D print complete
message: Print finished successfully at {{ now().strftime('%H:%M') }}.
data:
entity_id: camera.endercamera_duckdns_org
mode: single mode: single
- id: '1787462157568' - id: '1787462157568'
alias: 3D Print Early Layers Snapshot alias: 3D Print Early Layers Snapshot