I need to write a luup code for one hour after sunset thru one hour before sunrise for a scene control.
I understand the following…
if (luup.is_night()) then
return true
else
return false
end
But I need to know how to include the one hour after and before the start and end points.
Would appreciate any help…
Thanks…