Z2M Converter dont work

wrote a converter for a single-channel zigbee relay on Tuya. I see channel values ​​at the output, but I can’t control them. It gives an error. What am I doing wrong?