Rule: Push Notification Power Off

Didn’t test your rule, but 2 remarks:

  1. In general sleep of 30sec is a bad idea and can lead to unexpected behavior of the whole system.

More details here (OH 1.x and OH 2.x Rules DSL only] Why have my Rules stopped running? Why Thread::sleep is a bad idea

  1. Have you seen this solution? This is what I use successfully for my washing machine with some small modifications