Rename sensor to trigger.