Validates a Sensor to ensure it meets the domain constraints.
the Sensor to validate.
Right if the sensor is valid, or Left with a validation error.