Help with writing this for a Ikea tråfri bulb in node red

brightness: 176
hs_color:

  • 29.999
  • 71.427
    rgb_color:
  • 255
  • 163
  • 72
    xy_color:
  • 0.54
  • 0.393

You would only select one of hs_color or rgb_color or xy_color. So the payload in Node Red would be:

{
    "data": {
        "entity_id": "your-id",
        "rgb_color": [255, 163, 72]
    }
}

Thanks Michael now it is working👍