Changed calculateDependencies() to return sensor IDs
Copy form values