SwitchSensor with isEmpty