#Getting the time for a wait_for_trigger action

1 messages · Page 1 of 1 (latest)

livid heron
#

Hey, I am trying to automate my tea timer and to properly do this I want to do this kind of automation:

  • power > 10W
  • wait_for_trigger (power < 10W)

if last step > 60s then /* black tee at 100C / wait for 3minutes and then send altert
else /
green tee at 80C */ wait for 1 minute and send alert.

It is probably a very simple variable that exists for this purpose but search gets me all kind of different results and feels like I might need to go into the rabbit hole of defing a local variable with current time before the wait_for_trigger and then calculate the difference myself. If that is the case then that is also okay then I don't need to hunt for a variable/high level solution that might not exist.

serene cairn