Sorry for the inconvenience
It is not sure whether your device is infrared controlled. The learning function only supports infrared control. If your device is FR or Bluetooth, you cannot learn successfully.
If your device supports Bluetooth control, please try to add it in Bluetooth mode. Select other as the brand, download the code library, find the options related to adding Bluetooth in the device settings, find sofabaton, and complete the pairing.