This commit is contained in:
Home Assistant Version Control
2026-10-12 16:33:17 +00:00
parent 1c1eaa75b3
commit adbee2d864
3 changed files with 175 additions and 3 deletions
+1
View File
@@ -4463,3 +4463,4 @@
{"timestamp": "2026-10-12T16:31:21.696328+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "1791477238762", "python_transform": "stack = [config]\nfor _ in range(500):\n if not stack:\n break\n node = stack.pop()\n if isinstance(node, dict):\n for k in list(node.keys()):\n if isinstance(node[k], str) and \"split(' ')\" in node[k]:\n node[k] = node[k].replace(\"split(' ')\", \"split('_')\")\n elif isinstance(node[k], (dict, list)):\n stack.append(node[k])\n elif isinstance(node, list):\n for i in range(len(node)):\n if isinstance(node[i], str) and \"split(' ')\" in node[i]:\n node[i] = node[i].replace(\"split(' ')\", \"split('_')\")\n elif isinstance(node[i], (dict, list)):\n stack.append(node[i])", "config_hash": "67883587a6616a08", "take_control_of_blueprint": false, "category": null, "wait": true, "enabled": null, "run_actions": false, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1297.755241394043, "success": true, "error_message": null, "response_size_bytes": 7691, "user_context": null}
{"timestamp": "2026-10-12T16:31:26.410364+00:00", "tool_name": "ha_reload_core", "parameters": {"target": "automations", "entry_id": null}, "execution_time_ms": 198.5642910003662, "success": true, "error_message": null, "response_size_bytes": 122, "user_context": null}
{"timestamp": "2026-10-12T16:32:55.190572+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "1791477238729"}, "execution_time_ms": 262.2084617614746, "success": true, "error_message": null, "response_size_bytes": 7041, "user_context": null}
{"timestamp": "2026-10-12T16:33:12.207589+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "1791477238729", "python_transform": "config['actions'][3]['variables']['helper_idx'] = \"{{ old_slot.split('_')[-1] if old_slot.split('_')[-1] in ['1', '2', '3', '4'] else '' }}\"\nconfig['actions'][9]['then'][0]['data']['value'] = \"{{ summary_total }}\"\nconfig['actions'][9]['then'][1]['data']['value'] = \"{{ ((summary_total | float) * (states('input_number.filament_price_per_kg') | float(25)) / 1000) | round(2) }}\"", "config_hash": "5cb56a9f45956b0d", "take_control_of_blueprint": false, "category": null, "wait": true, "enabled": null, "run_actions": false, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 476.5012264251709, "success": true, "error_message": null, "response_size_bytes": 7395, "user_context": null}