Sometimes it might be smart to have different outcomes by automation, based on time of day. For example, it might be smart to control the brightness of one light that turns on automatically, so you do not get max brightness in the face in the middle of the night.
To do this we must add a condition in automation. The condition type is “Time”, and we want the automaton only to be run if the time is between 22:00:00 and 05:00:00 (every day)
If the conditions are met, the automation will continue. Now we can turn on the light and set the brightness to let say 35% – and we won’t be met with a bright light in the night.