Fixing trigger_ref for aws sensors

trigger_ref was incorrectly set.