Implemented transformation for SwitchSensor