Updated sensor viewmodel (and server) to take the most recent value from the sensor as the command value on rebuild. This keeps the value of the command accross rebuilds (sensor switch).