Zigbee Ikea Color Lights & Automations

Does anyone know why Ikea Color LED bulbs not behave right with automations sometimes.

I have two color lights in my bathroom and have a very simple automation:
At 7:30pm change color to red set to 50%
At 5:00am change color to white set to 100%

At night they dim to 50% but the color is set something like a warm white not red, in the morning nothing changes.

In the app and in the WebUI the lights function as adversised full color range and brightness ranges. It seems to only happen with the automation. I do have a milimeter wave presence detection sensor in the bathroom that turns the lights on and off. In the lights settings I have them set to Previous Value on their startup behavior.

Any help would be amazing.

Tommy

Where is your code? Without it is hard to guess what might be wrong…