You can disable the triggers briefly after a msg comes through. Then renable them after the changes have occurred.
[{"id":"01586dce1acb8a7f","type":"trigger-state","z":"ec78a76b.a0a4d","name":"","server":"6b1110b5.183a4","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"","entityidfiltertype":"exact","debugenabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"","propertyValue":"new_state.state"}],"inputs":1,"outputs":2,"customoutputs":[],"outputinitially":false,"state_type":"str","enableInput":true,"x":430,"y":2500,"wires":[["9c95deef8826641b"],[]]},{"id":"67180987726929f0","type":"trigger-state","z":"ec78a76b.a0a4d","name":"","server":"6b1110b5.183a4","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"","entityidfiltertype":"exact","debugenabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"","propertyValue":"new_state.state"}],"inputs":1,"outputs":2,"customoutputs":[],"outputinitially":false,"state_type":"str","enableInput":true,"x":430,"y":2560,"wires":[["9c95deef8826641b"],[]]},{"id":"43b98add16f3ce5b","type":"trigger-state","z":"ec78a76b.a0a4d","name":"","server":"6b1110b5.183a4","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"","entityidfiltertype":"exact","debugenabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"","propertyValue":"new_state.state"}],"inputs":1,"outputs":2,"customoutputs":[],"outputinitially":false,"state_type":"str","enableInput":true,"x":430,"y":2620,"wires":[["9c95deef8826641b"],[]]},{"id":"1f3fd334fb7a05c3","type":"link out","z":"ec78a76b.a0a4d","name":"","mode":"link","links":[],"x":875,"y":2500,"wires":[]},{"id":"2824f9dae7cc90e0","type":"link in","z":"ec78a76b.a0a4d","name":"","links":[],"x":195,"y":2500,"wires":[["01586dce1acb8a7f","67180987726929f0","43b98add16f3ce5b"]]},{"id":"9c95deef8826641b","type":"trigger","z":"ec78a76b.a0a4d","name":"","op1":"disable","op2":"enable","op1type":"str","op2type":"str","duration":"3","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":700,"y":2500,"wires":[["1f3fd334fb7a05c3"]]},{"id":"6b1110b5.183a4","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30}]