Reverse default state?

I have a doorsensor that I misuse to detect the doorbel button being rang. Its a Fibaro that next to the magnetic input also has a binary input.

It’s always ‘on’ and if the doorbel is pressed it’s ‘off’. I can’t change the wiring.

Is there a way -at least for the interface- I can reverse the state? So it shows 'off" when the sensor is on and the other way around?

You could create a Template Sensor and show that in the UI and hide the original