Homey Community Forum

Infrared from RFDevice class

I am trying to use infrared in my RFDevice class. I followed the [infrared tutorial](https://apps.developer.homey.app/wireless/infrared) and the IR example. Using the example and my custom IR string I can control the device. However I am only able to couple this directly to a Capability as in the example but not send the command from the RFDevice member function.

I tried to use
but I get an invalid_signal error.

Any ideas on how to use this?