code: public URL getDeviceURL() {
          return new URL(this.protocol, this.adapterAddress, this.deviceAddress, this.deviceAttributes, null, null, null);
      }
docs: Returns a copy of a given URL truncated to its device component.
  Service, characteristic and field components will be null.
  @return a copy of a given URL truncated to the device component