Is it possible? | Broadlink IR RGB light

Tags: #<Tag:0x00007f325b84a6e0> #<Tag:0x00007f325b84a578>

I have RGB light controlled by Broadlink with IR with script commands.
My goal is to make a light entity from those scripts.

  1. how can i control the brightness levels?
    I have 8 levels of brightness and increase decrease level scripts. could not figure how to corelate input
    number to send increase level when move number up and decrease scrip when move number down.
  2. Can I set a color to script?
  3. I have few modes i would like to implement - flash strobe fade and smooth can i define them under effect in light component?