Broadlink RM Pro and controlling light brightness

I’m looking for a way to be able to dim my lights with my RM Pro. The component supports switches and I wonder if there is a way to use a template light to be able to have the ability to turn on and off the light but also control the brightness.

My configuration at the moment is:

#Broadlink RM Pro
switch:

  • platform: broadlink
    host: 192.168.1.110
    mac: ‘34:ea:34:f4:32:76’
    switches:
    bedroom_light:
    friendly_name: “Bedroom Light”
    command_on: ‘snkmABEGBgsKBwUGBgYGBgYLCwcGCwsGBgsLBwUGBgYGBgYLBgYFBQYGAAA=’
    command_off: ‘snkmABEGBgsKBwUGBgYGBgYLCwcGCwsGBgsLBwUGBgYGBgYLBgYFBQYGAAA=’
    bedroom_light_bright:
    friendly_name: “Bedroom Light Bright”
    command_on: ‘sl0mABEGBgsLBgYGBgYGBgYLDAYGCwsGBgsMBgYGBgYGCwcFBgYGBgUGAAA=’
    command_off: ‘sl0mABEGBgsLBgYGBgYGBgYLDAYGCwsGBgsMBgYGBgYGCwcFBgYGBgUGAAA=’
    bedroom_light_dim:
    friendly_name: “Bedroom Light Dim”
    command_on: ‘sjIkABEGBgsLBgYGBgYGBgULCwYGCwsGBQsLBgYGBgsLCwYGBgYGBgAAAAA=’
    command_off: ‘sjIkABEGBgsLBgYGBgYGBgULCwYGCwsGBQsLBgYGBgsLCwYGBgYGBgAAAAA=’

I am also interested in this. Have you got something?

Not as yet, I wondered if it was possible to use a Light Template but just don’t know enough about HA to see whether this would work. I wonder if there is a simple way?

As there is no feedback for the RF and brightness seems to be based on a % for HA, not sure how this would work. I looked through other components and I haven’t found one that does something similar.

I’m an experienced developer and would happily write a custom component to do this but I’m hoping someone with HA could suggest a rough approach.