# If necessary, change to the name of your bulb.
define candle_light "Candle"
duration 0.5 on candle_light
saturation 100 brightness 50 kelvin 2200
time 2 duration 2
repeat
repeat 3 with hue_base cycle begin
assign row_num 5
set candle_light begin
repeat 6 with next_hue cycle hue_base begin
hue next_hue
stage row row_num
assign row_num {row_num - 1}
end
end
end