Want to convert maxcio curtain switch to light switch. Help required

I have few curtain switches of make maxcio. I want to use them to control lights instead of curtains. There is issue that as these switches are made for controlling curtains. so the switch turns off after specified time (can be adjusted between 10 sec to 120 sec in the home assitant application). Is there any way to bypass trip timing function.