Status on gate, need implementation ideas

I have a motorized gate that I can control from Homey by using Shelly UNI. The thing is that the gate opens or close by a on pulse. The motors just reverse the motor depending of last time where it was stop. In each end states.
There is no way to get signal or feedback whether the gate is open or closed.
Just got an Fibaro door sensor added to it.

Now I have two icons for the gate. Is it possible to have the gate button lit up or down depending on the status of the fibaro sensor? Or any other nice idea

Virtual device with an icon of your choice?

i cannot figure out on how to charge status on the virtual device, is that possible_

If Fibaro state changed, AND Fibaro = Closed THEN Update Virtual device state to Closed ELSE Update Virtual device to state Open.