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

This commit is contained in:
Home Assistant Version Control
2026-08-23 05:18:17 +00:00
parent a0269cb85b
commit 5a2afa3375
2 changed files with 25 additions and 11 deletions
+1
View File
@@ -1782,3 +1782,4 @@
{"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}
{"timestamp": "2026-08-23T05:18:11.786108+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_print_early_layers_snapshot", "python_transform": "payload = {\"title\": \"3D print early check\", \"message\": \"Print passed the first few layers (Z crossed 1 mm).\", \"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": "fcd025354904a88c", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 709.8016738891602, "success": true, "error_message": null, "response_size_bytes": 754, "user_context": null}
+24 -11
View File
@@ -3335,16 +3335,29 @@
entity_id: binary_sensor.octoprint_printing
state: 'on'
actions:
- action: notify.send_message
data:
- parallel:
- action: notify.mobile_app_sm_f956w
data:
entity_id: camera.endercamera_duckdns_org
message: Print passed the first few layers (Z crossed 1 mm).
title: 3D print early check
target:
entity_id:
- notify.sm_f956w
- notify.motorola_one_vision
- notify.francos_ipad
- notify.sm_t387w
title: 3D print early check
message: Print passed the first few layers (Z crossed 1 mm).
data:
entity_id: camera.endercamera_duckdns_org
- action: notify.mobile_app_motorola_one_vision
data:
title: 3D print early check
message: Print passed the first few layers (Z crossed 1 mm).
data:
entity_id: camera.endercamera_duckdns_org
- action: notify.mobile_app_francos_ipad
data:
title: 3D print early check
message: Print passed the first few layers (Z crossed 1 mm).
data:
entity_id: camera.endercamera_duckdns_org
- action: notify.mobile_app_sm_t387w
data:
title: 3D print early check
message: Print passed the first few layers (Z crossed 1 mm).
data:
entity_id: camera.endercamera_duckdns_org
mode: single