Jump to content

Date range without regard to year


paulw

Recommended Posts

Example, testing for being between 2/1 and 3/15. Seem to remember this may be an item already under consideration.

 

Also, it would be nice to be able to disable a line of code without completely removing it. Like the enable program, but on the line level.

Link to comment

Hello paulw,

 

Good suggestions and thank you for your input. The more requests we receive the higher in priority they become.

 

Example, testing for being between 2/1 and 3/15. Seem to remember this may be an item already under consideration.

 

Yes, on the list. For now you can use OR and add many years to the condition.

 

If
       Time is 12:00:00AM on 2010/01/01
    Or Time is 12:00:00AM on 2011/01/01
    Or Time is 12:00:00AM on 2012/01/01
    Or Time is 12:00:00AM on 2013/01/01
    Or Time is 12:00:00AM on 2014/01/01
    Or Time is 12:00:00AM on 2015/01/01

Then
       Set Scene '~New Year Lights' On

Else
  - No Actions - (To add one, press 'Action')

 

 

Also, it would be nice to be able to disable a line of code without completely removing it. Like the enable program, but on the line level.

 

Add a Repeat 0 Times before the line and a Repeat 1 Time after the line.

 

If
  - No Conditions - (To add one, press 'Schedule' or 'Condition')

Then
       Set 'Family Room Lamp' Fast On
       Wait  5 seconds
       Repeat 0 times
          Set 'Family Room Lamp' Fade Down
          Wait  5 seconds
       Repeat 1 times
          Set 'Family Room Lamp' Fast Off

Else
  - No Actions - (To add one, press 'Action')


 

Rand

Link to comment
  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...