Thanks Justin, I set the above rule, but It didn't work while I ingest 2 requests at a time.
Please find the below details of how this worked and What I wanted to achieve.
My pulse time is 180 for each request.
I am sending the Power1 ON command through MQTT.
If there is standalone request to run channel1 ON then Channel1 is on for 1.20mins
If the channel1 is on and then I inject another request to turn channel1 ON then it is not waiting to finish the first request but add additional time for channel1 to become ON.
If I send two consecutive request for power on then first request should turn the channel1 on and second request should wait for channel1 to turn off and then start the channel1 again from second request.
Request1 - Power1 Channel1 ON
Request2 - Check if Channel1 is ON -> then wait till Channel1 gets off-> Delay -> turn channel 1 ON
If the rules do not work then Can I check in anyway if the channel is busy?