I've made a link call successfully, which acts as a sort of singleton. It is used to calculate current season (summer/winter) for controlling a building based on settings stored in context. This can be based on average temperature the next X days (X is also configurable), hard-coded dates (summer start / winter start) or manually hard-coded to summer or winter. So whenever I need to know what the current season is, I can call that with a link call
node. Great! But I can't seem to reference this inside a subflow? I have various devices (air handling units, rooms/zones etc) that can either have their own season configuration, or rely on the "global" building settings. And if they rely on the building settings, then it would be very nice to reuse the code I already have for determining that. Similarly, I will have lots of devices, so be able to reuse that code inside a subflow would be great.
Perhaps convert the link call functionality to a subflow? But I have a queue there to prevent multiple messages being processed simultaneously. If I move it to a subflow, then each subflow would have their own queue...
Any suggestions?