This defines a rule that allows for a "sunrise" style alarm. Basically, you trigger it by setting the Alarm_Trigger item to a value that defines parameters for the alarm:
durationgives the length of the alarm in minutes
lightgives the minimum and maximum brightness values over the course of the alarm, e.g.
tempgives the range of color temperatures over the course of the alarm, e.g.
Add dimmers to the
Alarm_Dimmers group. Add Number items for color temperature to the
Alarm_Temps group. Any switches in the
Alarm_Switches group will be turned on at the end of the alarm.
Alarm_Running item serves as a UI element to halt a running alarm. Just turn it OFF while the alarm is running,