Neopixelhub ask

Hello. I run neopixel LEDs with a neopixel hub in my children’s room. But I have a question. When I turn on the lights between 22:00 and 08:00 at night, I want it to be 40% orange, regardless of the light intensity. I tried to do it with automation, but it turns off as soon as I turn on the light. To be more precise, I couldn’t manage it. What kind of suggestions can you give me regarding the subject?