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=’