Hi, while I'd like to help you, after reading what you wrote I'm confused are you takling about the switch
node, the ui-switch
node or both? Fully naming the node makes it easier for someone else to understand.
Please provide your flow (see: How to share code or flow json which will help me to understand your need.