Put back in UI code for sensors