Combining Dimmer tile with Contact Sensor?

Newbie here.

I am wondering if it is possible to create a tile to operate my roller doors.
I am using a fibaro relay switch to open and close the roller door, and a Fibaro door/window sensor 2 to detect open/closed.

Is there a way to combine these so the tile works like a lock tile? but using the fibaro to display the open/close status on the tile that operates the relay?

I tried searching the questions, but couldn’t find this.