Create a GUI dimmer to send RF commands

Hi, wondering if it’s possible to add a dimmer to home UI and have it use comman_on/command_off from rpi-rf_send integration?
I have an RF controlled light that I sniffed brightness commands from and now I’d like to use them in GUI. Any config samples would be much appreciated.

You can template a light and have an automation that responds to the percentage you set the light to.
Not sure if you can template a dimmable light though.