New version on GitHub with an option to attempt to force CT mode by setting the saturation to zero on a device in the Color Temperature group that is in RGB mode. This will happen any time a bulb is set to be updated, not just in the events I mentioned in my prior reply.
I found an old thread that discusses this very thing regarding LIFX bulbs. Based on that I went with the strategy to only set the saturation to zero. Let me know how it works for you.
And a special shoutout to @marktheknife for fixing a typo that I have been completely blinded to!