Heimdall how to link K2000/Binary switch to surveillance mode?

Hi, I managed to setup the combi of K2000 and fibaro binary switch incl. setting up some tokens.
But now I am struggling to find out how to use the RFID trigger via the fibaro switch to the surveillance mode device which I have added in the homey app.
With an activated key I can get the ok signal with the K2000 and this I have in a flow linked to changing the surveillance mode. That works as well. But how to deal with what mode to select? Is it a case of: if the state is active and a trigger from the K2000 comes then change it to deactivated and vice versa?
Hope my question makes sense, at least it is clear that I am struggling :crazy_face:
Current first attempt of flow:

1 Like