.ha_mcp/logs/mcp_usage.jsonl, automations.yaml
This commit is contained in:
@@ -1807,3 +1807,4 @@
|
||||
{"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}
|
||||
{"timestamp": "2026-08-23T05:45:09.797822+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_print_early_layers_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": "618faf493dd1ad1d", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 771.7106342315674, "success": true, "error_message": null, "response_size_bytes": 548, "user_context": null}
|
||||
|
||||
@@ -3339,24 +3339,6 @@
|
||||
message: Print passed the first few layers (Z crossed 1 mm).
|
||||
data:
|
||||
image: /local/octoprint_snapshot.jpg
|
||||
- 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:
|
||||
image: /local/octoprint_snapshot.jpg
|
||||
- action: notify.mobile_app_francos_ipad
|
||||
data:
|
||||
title: 3D print early check
|
||||
message: Print passed the first few layers (Z crossed 1 mm).
|
||||
data:
|
||||
image: /local/octoprint_snapshot.jpg
|
||||
- action: notify.mobile_app_sm_t387w
|
||||
data:
|
||||
title: 3D print early check
|
||||
message: Print passed the first few layers (Z crossed 1 mm).
|
||||
data:
|
||||
image: /local/octoprint_snapshot.jpg
|
||||
- action: telegram_bot.send_photo
|
||||
data:
|
||||
entity_id: notify.franco
|
||||
|
||||
Reference in New Issue
Block a user