(Sorry for the confusing title of this post, I don't really expect anyone to understand it... just couldn't think of anything else to write.)
Issue:
When a UI group is populated with Dashboard items like switches etc., the config sidebar shows the corresponding config node (for the dashboard group), with a little number next to it, saying how many nodes use this config:
As you can see, the ui-group called [Bedroom] Light appears to have no nodes using it.
This generates a warning when you deploy:
Problem is - the dashboard UI group does have items. It's just that these dashboard items are within subflows, where I've used environment variables to determine which dashboard the item goes on:
Is there some programmatic reason that the config node cannot know how many dashboard items there really are?
What's the reasonable workaround for this?