{"id":"automation-context-usable-as-object-or-context-manager","text":"`AutomationContext` can be used both as a regular object (`ctx = AutomationContext(...)`) and as an async context manager (`async with AutomationContext(...) as ftl`).","truth_value":"IN","source":"entries/2026/05/11/examples-06-automation-context-example_phase2_inventory.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"automation-context-usable-as-object-or-context-manager","truth_value":"IN","reason":"premise"}]}}