Context-Aware Automation System