Posted: April 11 2004 at 11:00 | IP Logged
|
|
|
As I have assumed from your comments, this would only work on items controlled by PH (not directly as with a switch).
Create a new Global, say, LightEnable. You would then create a macro, or, timed event to set/clear this flag, then, add a line to check this before you turn it on in a macro, or, trigger.
Timed Event at 7am, clear flag (LightEnable=0) at 7pm, set flag (LightEnable=1)
Old Light Macro Light On
New Light Macro if( {LightEnable} = 1, 1, 999) Light On
For a trigger, simply add this to the Boolean column...
if( {LightEnable} = 1, 1, 0)
|