How to handle a mqtt topic with two different payloads, but returns one a at time

Easiest solution: