How to join two payloads, when one is intermittent?

Hi, The msg.topic within each stream are static (hard coded) , only the payload updates. Here’s the function within the ‘sensor status’ (which captures things like if the sensor’s been opened or closed) flow.

I'm with @tonylane26, using saved flow context, IMO although not the most efficient, it seems a much easier solution to implement.

Here’s an example of how it’s working today, and as @Colin mentioned I don’t think there’s much I can do while my HA Controller is acting as the proxy for the Alarm Panel connection.

Here’s an example of what’s getting logged via the debug.