Update to nest.devicetype.groovy

Adding metadata definition and changing position of slider to horizontal