Change the LED color below a threshold

Hi guys,
could someone help me to change the RGB color when the temperature is below the threshold? It seems that hassio doesn’t like my last line and I cannot find anywhere the solution: rgb color: 255,255,255

  • alias: turn off led if temperature is below 29.
    trigger:
    platform: numeric_state
    entity_id: sensor.SN1_Temperature
    below: 29.00
    action:
    service: light.turn_on
    entity_id: light.SN1_LED
    rgb_color: 255,255,255

thank you!
Marco

I think square brackets around your list;

rgb_color: [255, 255, 255]

Thank you Emphyrio,
unfortunatelly it doesn’t solve, I tryied all the combinations but Always get this error:
Invalid config for [automation]: [rgb_color] is an invalid option for [automation]. Check: automation->action->0->rgb_color. (See /config/configuration.yaml, line 235). Please check the docs at https://home-assistant.io/components/automation/

I just would like a red light when the temperature in above 30, I’m using an ESP8266 and a RGB LED.

any simple exemple or suggestion?

You need to provide a data entity:

- id: a0010
  alias: Test Salon
  trigger:
  - platform: state
    entity_id: sensor.sn1_pir
    from: standby
    to: motion detected
  action:
  - service: light.turn_on
    data:
      entity_id: light.sn1_led
      color_name: green
      brightness: 127
      flash: short

super! thank you e_jp