Getting aqara door sensor to work with zigbee2mqtt

Thank you that worked :+1:
Is it possible to overwrite the value with an if else query? So if true then closed if false then open?