if(i==0){
Sensor1 == tempDeviceAddress;
}
if(i==1){
Sensor2 == tempDeviceAddress;
}
if(i==2){
Sensor3 == tempDeviceAddress;
}
The result of the equality operator (==) will be true or false. You discard the result, so the whole exercise was a waste of time.
Now, the assignment operator (=), would have been more useful.