Override transition property on switch.flux_update?

I’d like to add to all my light switches the switch.flux_update call to make sure the color is instantly set to the right one whenever I turn on a light.

The problem is that to obtain the desired result, I need the transition property set to 0, to be instantaneous.

I don’t want to set it to 0 in configuration.yml because doing so I will lose the transition effect during the day.
What I’d like to do is to override the transition property only when I call the switch.flux_update command.

Ideally the switch.flux_update service should accept a configuration where I can define the settings to override.

How can I do?