Dragino MQTT Door Sensor Shows as "Unknown"

Hello, I have configured a server and gateway in my house to make the LORA-MQTT-HA communication and everything works properly as I have temperature and humidity sensors installed, my problem comes as I try to install a Door Binary sensor which appears to me with the status of “unknown” I sure have an error in the configuration.yaml, I leave the payload that emits in sensor as well as the current configuration I need help

Sensor Payload:

configuration.yaml:

error:
imagen

Hi, I have exactly the same problem. Did you find the solution?