use X10::Macro;
[
{
description => "Weekday lights-out",
repeat_type => 'day',
time => '11:00',
dowmask => 62, # weekdays
macro => new X10::Macro(
events => [ qw( falloff ) ],
)
},
{
description => "Come-home-from-work lights on",
repeat_type => 'day',
time => '18:00',
dowmask => 62, # weekdays
macro => new X10::Macro(
events => [ qw( f02on p05on ) ],
)
},
{
description => "Sunset -- outside lights on",
repeat_type => 'day',
time => 'sunset+15',
macro => new X10::Macro(
events => [ qw( olightson ) ],
)
},
{
description => "Outdoor lights out",
repeat_type => 'day',
time => '23:30',
macro => new X10::Macro(
events => [ qw( oalloff ) ],
)
},
{
description => "Outdoor lights on (morning)",
repeat_type => 'day',
time => '6:00',
macro => new X10::Macro(
events => [ qw( olightson ) ],
)
},
{
description => "Sunrise -- outside lights off",
repeat_type => 'day',
time => 'sunrise',
macro => new X10::Macro(
events => [ qw( oalloff ) ],
)
},
];