Below is the first entry in the log after the time and presence conditions were true. I’m not an expert in reading the logs but from what I can see it looks ok, the only issue is why it waited so long to execute because the conditions would have been true over an hour before this entry…
24/09/2017, 20:24:22 +812ms
+1ms ╔Received event [Home].execute = 82.132.223.192 with a delay of 301ms
+258ms ║RunTime Analysis CS > 17ms > PS > 50ms > PE > 191ms > CE
+548ms ║Runtime (45328 bytes) successfully initialized in 50ms (v0.2.0e9.20170921) (546ms)
+549ms ║╔Execution stage started
+571ms ║║Comparison (enum) not present is (string) not present = true (3ms)
+574ms ║║Comparison (enum) not present is (string) not present = true (2ms)
+577ms ║║Condition #20 evaluated true (18ms)
+578ms ║║Condition group #17 evaluated true (state did not change) (19ms)
+588ms ║║Comparison (string) away is (string) away = true (3ms)
+590ms ║║Cancelling condition #5’s schedules…
+591ms ║║Condition #5 evaluated true (10ms)
+659ms ║║Comparison (time) 73463405 is_between (time) 1506275820000 … (time) 7200000 = true (9ms)
+660ms ║║Time restriction check passed
+662ms ║║Cancelling condition #19’s schedules…
+663ms ║║Condition #19 evaluated true (71ms)
+664ms ║║Cancelling condition #18’s schedules…
+665ms ║║Condition group #18 evaluated true (state changed) (84ms)
+669ms ║║Cancelling statement #7’s schedules…
+699ms ║║Calculating (integer) 6 - (integer) 1 >> (integer) 5
+713ms ║║Calculating (integer) 5 + (integer) 5 >> (integer) 10
+720ms ║║Calculating (string) Turned a random light on for + (string) 10 >> (string) Turned a random light on for 10
+723ms ║║Calculating (string) Turned a random light on for 10 + (string) minutes >> (string) Turned a random light on for 10 minutes
+755ms ║║Executed virtual command [3rd Bed Lights].sendPushNotification (26ms)
+843ms ║║Executed physical command [3rd Bed Lights].on() (85ms)
+844ms ║║Executed [3rd Bed Lights].on (87ms)
+881ms ║║Executed physical command [3rd Bed Lights].setLevel([25]) (32ms)
+882ms ║║Executed [3rd Bed Lights].setLevel (33ms)
+891ms ║║Calculating (integer) 5 + (integer) 16 >> (integer) 21
+895ms ║║Executed virtual command [3rd Bed Lights].wait (1ms)
+897ms ║║Requesting a wake up for Sun, Sep 24 2017 @ 8:45:23 PM BST (in 1260.0s)
+905ms ║╚Execution stage complete. (356ms)
+907ms ║Setting up scheduled job for Sun, Sep 24 2017 @ 8:45:23 PM BST (in 1259.991s)
+1415ms ╚Event processed successfully (1415ms)