New User - add an action to SmartThings virtual switch

new to SharpTools. I have a functioning SmartThings virtual switch which, in SmartThings, turns on if any battery is <20% and off if all batteries are >21%. I have successfully added this tile as a thing to my main dashboard with the desired red/green display depending on status. I also created a second dashboard that shows the battery status of all devices.

How do I modify the virtual switch tile so that clicking it opens the second dashboard with all the battery statuses shown?

A standard switch tile can’t be directly be configured with a custom action.

You can either create a rule to copy the switch status into a variable, then add the variable to your dashboard and customize the action for that tile.

Or use a Hero Attribute Tile or Super Tile to display the switch status and customize the action for one of those tile types.