Switch board or relay advice if possible

Hello all from Portugal!

Can please some one, advise me on what kind of board or switches can we use to add these switches to HASS, and control the devices connected to them, thru HASS?

Will a D1 Mini, do the job? Especially for the rotary button on the left side and for the key switches with a key inserted ?

Tks in advance!

Rui Jacome