Need much help with Lifx photons

Hi,

I managed to create a handfull of rest_command requests to make use of the HTTP API. So far so good, it’s working great.

Now I want to move to Lifx photons using the Home Assistant addon. I’ve succeded in making a couple of requests, changing some bulbs colors and setting some firmware effects.

Problem is I don’t understand the documentation. I learnt from a guy that in order to set a palette to the morph effect I have to add “matrix_options” whithin the JSON as shown below. But that “matrix_options” thing is nowehere in the addon documentation nor in the help command. How am I supposed to know I must set that or other things in order to achieve my goals? How, for example, can I set the speed of the morph effect? is there any documentation newbie proof on how to properly build the JSON messages?

Thanks in advanced

{
    "command": "effects/run",
    "args": {
        "matcher": {
            "product_identifier": "lifx_tile"
        },
        "matrix_animation": "MORPH",
        "matrix_options": {
            "palette": [
                "red",
                {"hue": 60, "saturation": 1, "brightness": 1, "kelvin": 3500},
                {"hue": 120, "saturation": 1, "brightness": 1, "kelvin": 3500},
                {"hue": 180, "saturation": 1, "brightness": 1, "kelvin": 3500},
                "purple"
            ]
        }
    }
}