Simplest way to configure a switch to control a light (group)?

Very useful thread, I couldn’t quite figure out bindings with my tradfri bulbs, but trigger IDs allowed me to map physical button presses to specific actions in a single automation very easily.