Add dimmer via broadlink rm mini + showing as a slider + showing in HomeKit as brightness control

Hi I wonder if my idea/ goal could be achieved here …

So I have an RM Pro and and RM Mini 3

And I have a dimmer switch
(With a remote)

So I want to pair the remote with the RM Pro / Mini

And add it to home assistant

And I want it to show in

1 - home assistant as a Slider
2 - I have the HomeKit component
And I want it to show like a brightness slider

  (Not two separate buttons)
   If this is not possible 
    It’s ok to add them as buttons 
    But not switches 🤔