Sonoff B05 BL light color control via automation

Afternoon,

I would like to control the color of the sonoff light via an automation, I have successfully integrated the light via the sonoff integration on hacs, there are options to select color from the palette, just not sure how to automate the color selection, I was hoping to see that from logs when I change color, but the logs only work for on and off and show nothing when I Chang the color, please assist.

You can do that by calling a service to turn on the light instead of using the device.

service: light.turn_on
target:
  entity_id: light.sonoff_1001f4bc60
data:
  rgb_color:
    - 255
    - 38
    - 0
  brightness_pct: 100

Sure, will try it and revert.