Harmony hub - Basic script

I need help with a basic script/scene/automation to start my activites in my harmony hub through HA. I’m new att HA and have been trying different examples but I can’t get it to work.

The main reason to why I started up with HA was to have all of my systems in one place and to be able to start for example my harmony hub activites and at the same time turn on/turn off some lamps. Very basic stuff but I haven’t figured it out yet and would love some help.

So, one script/scene/automation that starts my activites and one script/scene/automation that start my activites and turn off a lamp.

Works better using the Activity on the Harmony remote and making that trigger HA for the lights, check out emulated_roku to control HA from Harmony rather than the other way around.

If you want to persevere with doing it the other way, it’s all in this thread…