[SOLVED] restricting lights from a certain hour
-
Comments are vital! I include them both as
Comment
entries within the Rule body, as well as#comments
at the end of a line within an Expression. Example:AddOne := a = 0, #start at zero b = a + 1 #add one
@librasun @toggledbits I am delighted to say there were no lights between 05:30 and 06:30 (as planned) this morning.
Review:
-
Removed duplicate
Set Reaction
from ruleset "Sunset Lights: On" - this was already called elsewhere and was overriding the "Rainstorm Lights: On" ruleset. -
Removed
Day
as a considered mode from "Sunset Lights: On" as they're going on at sunset and Day mode ends then. It makesDay
a mode that should never trigger - but it was at 05:30 incorrectly as that's when Day mode restores. -
Returned the
weekend
andweekday
exclusions to theConditions
fromConstraints
set asafter
the appropriate alarm clock times.
My thanks to both of you - I really appreciate your feedback and guidance here!
-
-
T toggledbits locked this topic on