Turn off Logitech Harmony Activities

I have a epos avs 5.1 system. When I added it over 6 years ago to harmony, it wasn’t in the database. I manually added the commands.

I will have to run some more tests in the weekend, but I think it toggles every time I turn it off from smartthings.

I can confirm my sub keeps toggling any number of times I issue the off command. I have updated the OP with my complete setup now.

I have done some tests and my setup accurately updates the harmony activities every time I switch activities. So I believe this is an alternative to the current known workaround below. So I won’t be switching to the below setup unless I see any issues with mine.