I have an automation that changes the colours of my outside lights over the Christmas period. It works well except that I can only change the colour every 2 seconds as there appears to a limit of 10,000 iterations for an Until loop. The lights come on at sunset which is about 8pm and I have them set to turn off at midnight so that is about 4 hours. If I set it for every 2 seconds then that is 30 iterations per minute x 60 minutes x 4 hours = 7200 iterations and it works. However, I would prefer the lights to change colour every second or even every half a second. Both of these settings work but it crashes when the loop count gets to 10,000. If set to 1 second then it crashes after 10,000/3600 which is only 2.77 hours and only 1.39 hours if set to 500ms.
Is there a way to increase the limit from 10,000? I'm sure it there to stop automations getting into infinite loops but that is not the case in this situation. I'd get away with 20,000 for the 1 second loops.