Sonoff T1 2CH Long Press Action

I’ve got a Sonoff T1 2CH flashed with Tasmota controlling two lights. I want to simply be able to long press one of the buttons to turn off both lights rather than having to press each one individually. What is the best way to achieve this?

off the top of head first you have to Detach the Switches from the Lights this should be able done inside tasmota