Differentiate between two toggles?

I am struggling to figure out how to differentiate between two tiles and execute different methods. e.g. two toggle tiles Left and Right. I want each toggle to execute a different method. I want left to execute left method and right to execute right method.

I figured it out! Instead of using the “door control.open/close” in my tiles state. I created a custom command.