This commit is contained in:
Home Assistant Version Control committed 2026-10-01 23:49:38 +00:00
1 parent 7cbb41166b
commit 5870d5c7cd
3 files changed
+126 -4

No files matched your search

+1
View File
@@ -3810,3 +3810,4 @@
{"timestamp": "2026-10-01T23:47:07.102911+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_print_early_layers_snapshot", "python_transform": "config['triggers'] = [\n {'above': 5, 'entity_id': 'sensor.sparkx_i7_print_progress', 'trigger': 'numeric_state'},\n {'above': 25, 'entity_id': 'sensor.sparkx_i7_print_progress', 'trigger': 'numeric_state'},\n {'above': 50, 'entity_id': 'sensor.sparkx_i7_print_progress', 'trigger': 'numeric_state'},\n {'above': 75, 'entity_id': 'sensor.sparkx_i7_print_progress', 'trigger': 'numeric_state'},\n]\nvars_block = config['actions'][0]\nif 'variables' in vars_block:\n vars_block['variables']['milestone'] = \"{% set above = trigger.get('above', 0) | int(0) %}{% if above >= 75 %} 75% complete{% elif above >= 50 %} 50% complete{% elif above >= 25 %} 25% complete{% elif above >= 5 %} 5% complete{% else %} Print progress {{ above }}%{% endif %}\"\n vars_block['variables']['tag'] = \"p{{ trigger.get('above', 0) | int(0) }}\"\n", "config_hash": "dfee78ad53e9bab4", "take_control_of_blueprint": false, "category": null, "wait": true, "enabled": null, "run_actions": false, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 1468.022346496582, "success": true, "error_message": null, "response_size_bytes": 79747, "user_context": null}
{"timestamp": "2026-10-01T23:47:26.119347+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.3d_print_early_layers_snapshot"}, "execution_time_ms": 270.92695236206055, "success": true, "error_message": null, "response_size_bytes": 3926, "user_context": null}
{"timestamp": "2026-10-01T23:49:13.738711+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.3d_print_early_layers_snapshot"}, "execution_time_ms": 204.79702949523926, "success": true, "error_message": null, "response_size_bytes": 3926, "user_context": null}
{"timestamp": "2026-10-01T23:49:32.036275+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_print_early_layers_snapshot", "python_transform": "config['description'] = 'Telegram-only snapshots from all 3 printer cameras. Fires at 5%, 25%, 50% and 75% print progress. Lights the SparkX i7 and bedroom lamp only if they are currently off, then restores whatever state they were in before capturing.'", "config_hash": "e30f542b24057b0e", "take_control_of_blueprint": false, "category": null, "wait": true, "enabled": null, "run_actions": false, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 1022.9160785675049, "success": true, "error_message": null, "response_size_bytes": 79116, "user_context": null}