Update I finally got around to tackling this. Your replies helped and provided a base to move forward. The logic is slightly different than webcore. I wish there was a copy and paste option because I seem to select the same device multiple times in different if?then logic pathways
Thanks for the update!
Sounds close to this feature request if you want to cast a vote:
Or if that doesn’t quite cover what you’re looking for, feel free to create a new feature request.
That would pretty much save time for me. For example I have LED notifications on some switches. If I want to trigger the notification I have to make a new action x4 times for type, duration, color and effect. Copy and paste seems simple enough.
One problem I see is if the if/then statements get 4 deep you can’t really see them or make changes because they are so squished
In general, if you are nesting conditions that deep, it’s usually an indicator that the rule could be rewritten in a more efficient way. Feel free to share a screenshot of your rule and some details about what you are trying to accomplish in the SharpTools community and I’m sure you’ll get some suggestions.
That being said, a new vertical stacking option was released today:
Introducing Vertical Stacking for IF Conditions! - Announcements - SharpTools Community
Perhaps a screenshot would help clarify the rule structure, but it sounds like it could be a good use-case for variables to help simplify the rule structure.
I have my notifications set up as scenes in ST, then I can call the scene in a single command. Scenes don’t run local but neither does SharpTools so nothing lost there…
I created virtual momentary buttons as Scene replacements. Put them in a room called Scenes, tie routines to them as normal. Call from anywhere and they’re local.
That would have been a better idea because I have 2 switch LEDs that I use for 3 different notifications. It’s working great now but I’m keeping this in mind for future projects
I just did this. I don’t think I’ll mess with the rule much more because it is working perfect but ideas will help for future rule creations