Tasker plugin not working when Yeelight is not running

Hi!

I noticed that when I close Yeelight through the android task manager, the Yeelight tasker plugin stops working. I have a habit of swiping away unused apps so this is a real problem for me. I removed Yeelight from the automatically optimized apps in the battery settings, but the background service does not seem to be running when the app is closed.

Does it work for anyone on a Huawei Mate 10 Pro?

Edit: After restarting my phone, it seems to work fine. It was probably just the Huawei background app killing madness not applying my optimization settings before a restart.