Control multiple GPIO pins with single switch

Syntactically its correct to write

Switch btnTest "Test" (gTestGPIO) { gpio="pin:17", gpio="pin:18" }

but the effect is only pin 18 is switched. Is there a way to switch many pins at once?

Would using a rule not come in handy here? Then you can execute 2 lines to set your 2 pins.

Hi, thanks.

Sure, a rule will manage this, but it needs 3 items and a rule…

This was more of an academic question about the intents of the item
definition implementor…