[SOLVED] Getting a deterministic item state from postUpdate (equivalent to "receivedCommand")

But it’s set up to deal with this if the item receives a command (receivedCommand holds an instance of the state, unaffected by future changes). It doesn’t appear to have the same type of buffer for item updates, though.

The source of this data is the HASP (Home Automation Switch Plate (HASP) - DIY touch controller - #14 by pkhajanchi) - which I’ve recently modified to send all button events via a single MQTT topic. I was hoping to use the OFF event for possible future improvements (long button press actions,for example), but I am only sending the rising edge (ON) event for now as a workaround to this issue.