Found a work around. Instead of configuring the things in PaperUI, I configure the MQTT Gateway and the sensor through the openHab things file. I followed the example that @dakipro wrote in the openHab controller main Web page (https://www.mysensors.org/controller/openhab). Thanks @dakipro.