I’m working on a SmartApp as a virtual thermostat. I’d like to centralize more of the config in one app instead of having several apps for each room and modes (like the default Virtual Thermostat). I have it working through some rudimentary inputs, dynamicPage and submitOnChange. But I see a lot of potential for better config.
So my question is really: How is the best way to create a dynamic setup page? Where you can add and remove sections as needed? I think something along the lines of how the Smart Lighting app does it would work, though not ideal. Anyone know where I can find the code of the Smart Lighting app? Or something similar?
I suspect that the way Smart Lighting is made possible is through sub-apps? Does anyone know?