I'm trying to code up a simple event which will set a virtual device to 'On' or 'Off' depending on whether the current day is a 'holiday' (as I define it). My first test is like this:
If I make sure that my Virtual Holiday Device is set to off and then I manually execute this event, the event always changes to 'On'.
I've tried this event with other conditions, such as if the day is the first Monday in September, and this does *not* turn the device on. It only seems to be a problem when I use the date setting. Before I report a bug, I just want to make sure that I'm not overlooking something obvious.
Thanks.
Jim
Code:
IF This event is MANUALLY triggered
AND IF The date is ...
12/25/2016
THEN Control a Device
Virtual Device Control Holiday Virtual Device On
I've tried this event with other conditions, such as if the day is the first Monday in September, and this does *not* turn the device on. It only seems to be a problem when I use the date setting. Before I report a bug, I just want to make sure that I'm not overlooking something obvious.
Thanks.
Jim