Ok, you can make a routine in bixby where you can choose the flip state as trigger (open/partial open/closed)
As action, show notification/message
Then you make a macro (MD) with notification recieved (from routines) as trigger and do what ever you want in actions, just remember to clear that notification as a part of it
Hope this is clear to understand
