Help with Tasmota ButtonTopic


I just purchased a bunch of sonoff T1 3ch switches and flashed them with tasmota. I want to use 1 button of the sonoff to turn a group of lights on and off. I manged to change the button topic but it publishes a single Mqtt message cmnd/topic/POWER3=TOGGLE. How can I change this to publish cmnd/topic/POWER3=ON and cmnd/topic/POWER3=OFF


This sounds more like a question for tasmota support rather than for HomeAssistant.

Enter these commands in the console:
SwitchMode1 1
SwitchMode2 1
SwitchMode3 1