A simple collapsible section like in Markdown would already be great, but ideally I envision this to be developer manageable first, user manageable second.
For example:
My blueprint
The Everything Light - Trigger a light any way and turn it on in any way currently has 4 operating modes, each with their own settings.
As the developer, it would be great to let it only show the options of the mode it’s configured to run in.
In second order, a user should have the choice to collapse different option sections should they feel the need.