Shelly i4 and roller blinds/turn of the lights

I have a Home Assistant setup where I have a function to turn off all the lights and one to roll up the blind folds. I would like to use my Shelly i4 to activate those functions with a physical button but I am to new to this so I don´t even know what I should search for. Is there a way to use a http request or what is the best way?

Hello Anton Salminen,

This might help.
Understanding automations - Home Assistant.

The Home Assistant Cookbook - Index.