FYI: I added an enhancement to my example posted above. The inner loop waits up to 3 seconds for the service call’s changes to take effect before attempting another iteration.
Reference: wait_template
FYI: I added an enhancement to my example posted above. The inner loop waits up to 3 seconds for the service call’s changes to take effect before attempting another iteration.
Reference: wait_template