Replies: 1 comment 1 reply
-
Well, first make sure that you are right about "delayed execution does not happen". What I mean is that for some reason, you may not always see |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to operate one Tasmota device based on MQTT tele message received from another device.
I need the action to be delayed by certain number of seconds.
My code structure looks like this:
If I execute following on Berry Console, the delay timer works fine.
tasmota.set_timer(20000, function2) #20,000ms
However during code execution the delayed execution does not happen.
I can confirm that the if condition is triggered and code before the
tasmota_set_timer
command get executed.What am I doing wrong here?
Beta Was this translation helpful? Give feedback.
All reactions