Update UI after MQTT action rule

Hello, I have my schlage lock paired to smartthings. I can control it via MQTT with a bridge. I want to update the on/off slider in the UI in case the lock is opened manually or my wife does it from smartthings instead. What I have found is that I get repeated commands send to the lock. I thought doing a postUpdate would only update its state not send a command. I also noticed this problem with my blind beings paired to smartthings and MQTT endless looping the postUpdate information. This is my rule:

rule "Lock State"
Item Lock_State received update
if(Lock_State.state == “locked”) {
} else {


My goodness i must be blind, just saw the same exact post one down. sorry!