We can now edit the max-min of a sensor and write it to the server