Difficulty with scene app

I know there are already great scene apps but I though it best to learn the groovy syntax and create my own so I can best fulfill my needs.

So, my first project was to create a simple scene app that triggers my scene from a virtual/physical switch. After some learning I’ve got an app that does what I want but it works inconsistently.

First, I can’t get the simulator (very inconsistent utility) to run the dynamic pages so I just skip to my phone. On my phone the setup works fine and it runs perfect if I use all virtual dimmers but when configured with my physical dimmers they do not turn on. Switches seem to work fine and dimmers turn off correctly.

Here’s my code: https://github.com/Miro87043/SmartThingsPublic/blob/master/smartapps/miro87043/basic-scenes-app.src/basic-scenes-app.groovy

any thoughts?