Double function button

Hi,

Im trying to make a button in my lovelance with a dobble function:
Toggle some lights and navigate to another screen
Can somewone help me out with this?

Thanks & best regards

Take a look here:

oh sorry i meant 2 funciton when i tap the button ones.
so when i press the button i go to another screen and my lights go on.
is there a function or something for that?

That should be possible with a script.
For the navigation maybe browser_mod.navigate.