So I have a simple node that ouputs the value of a numeric node via MQTT. The problem is that this value has to be outputed when the forceRefresh node (that is MQTT) triggers (and obvisously when the value is changed, but that is no problem). This node injects a random value the only purpose of it is to force this and other nodes to output their value so that the device on the other end can know the real values when it powers up.
With other nodes (like switch's) this isn't a problem. But in this node I don't see and option to output the existing value when a random input is triggered.
I know that what I'm trying to do is contradictory because sometimes the node will get an input from a useful value and other it will be random values. But I can't wrap my head around it