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

This commit is contained in:
Home Assistant Version Control
2026-08-23 05:45:01 +00:00
parent 717feccbb7
commit 990c373183
2 changed files with 1 additions and 18 deletions
+1
View File
@@ -1806,3 +1806,4 @@
{"timestamp": "2026-08-23T05:40:16.112775+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": 1686.882734298706, "success": true, "error_message": null, "response_size_bytes": 206, "user_context": null}
{"timestamp": "2026-08-23T05:40:25.091857+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": 12.108564376831055, "success": true, "error_message": null, "response_size_bytes": 447, "user_context": null}
{"timestamp": "2026-08-23T05:44:46.656203+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_print_complete_snapshot", "python_transform": "for act in config[\"actions\"]:\\n if \"parallel\" in act: act[\"parallel\"] = [s for s in act[\"parallel\"] if s.get(\"action\") in (\"notify.mobile_app_sm_f956w\", \"telegram_bot.send_photo\")]", "config_hash": "33ecc92b2b703793", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 56.000709533691406, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression validation failed: Syntax error: unexpected character after line continuation character (<unknown>, line 1)\",\n \"suggestion\": \"Remove the leading backslash before quotes \\u2014 write \\\"foo\\\" not \\\\\\\"foo\\\\\\\" in the Python source.\",\n \"suggestions\": [\n \"Remove the leading backslash before quotes \\u2014 write \\\"foo\\\" not \\\\\\\"foo\\\\\\\" in the Python source.\",\n \"Check expression syntax\",\n \"Ensure only allowed operations are used\",\n \"See tool description for allowed operations\",\n \"Expression: for act in config[\\\"actions\\\"]:\\\\n if \\\"parallel\\\" in act: act[\\\"parallel\\\"] = [s for s in act[\\\"parallel...\",\n \"For Home Assistant best-practice guidance, call ha_get_skill_guide(skill='home-assistant-best-practices') and consult the relevant reference file before retrying.\"\n ]\n },\n \"action\": \"python_transform\",\n \"identifier\": \"automation.3d_print_complete_snapshot\"\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-08-23T05:44:55.308754+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_print_complete_snapshot", "python_transform": "keep = (\"notify.mobile_app_sm_f956w\", \"telegram_bot.send_photo\"); [act.update(parallel=[s for s in act[\"parallel\"] if s.get(\"action\") in keep]) for act in config[\"actions\"] if \"parallel\" in act]", "config_hash": "33ecc92b2b703793", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 328.46951484680176, "success": true, "error_message": null, "response_size_bytes": 540, "user_context": null}
-18
View File
@@ -3308,24 +3308,6 @@
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