RF Sensor for Raspberry Pi

He Guys!
I have been playing with HA for a week now and it is really cool!
I have been into home automation for a bit and i already had a couple of RF switches and rf sender/reciever for Raspberry PI.

I was wondering if it is possible to use the RF remote that came with the switches to turn on or off scenes or multiple lights?

So something like this:

sensor:
platform: rpi_rf
gpio: 17

Have you seen

and

Oops, i should have looked around a bit more… Thank you so much!