#Wait Template: False

1 messages · Page 1 of 1 (latest)

sand light
#

Hi, My traces shows this:

#

it says result is FALSE even though it should have waited 4 hours

sick steppe
#

download and share the actual trace file. Use a sharing site like dpaste.org

sand light
sick steppe
#

the result shown in the UI for the wait_for_trigger is confusing; it seems to show the result of the numeric state when evaluated immedately at the start of the wait_for_trigger rather than at the end of the wait

#

in the trace you shared, it confirms the wait didn't complete the 4 hour timeout because the smartplug_power changed from 11 to 14

#

so it appears to be doing what you want; it's just that the UI is very misleading/confusing

#

in order to determine what actually happened using the UI to look at the trace, in the sceenshot you shared above you would click the "changed variables" tab in the section on the bottom.

You can see the wait section and it will tell you if it completed and how much time was remaining. If the time is not zero, you know that some trigger occurred. Scrolling down further you can see what the trigger was.

#

@sand light ^

sick steppe