New Device help - Generic smart curtain (Z2M)

Hi,

I just got a generic smart curtain from taobao. It connects to Z2M but it was unsupported, so I followed the guide. Managed to get it supported but was unable to properly set the converters. Tried to reuse existing converters but still the same error. Any help is appreciated.

Debug 2023-09-16 15:40:21Received MQTT message on ‘zigbee2mqtt/Curtain/set’ with data '{“state”:“OPEN”}'
Error 2023-09-16 15:40:21No converter available for ‘state’ (“OPEN”)

Codes as below:

const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const e = exposes.presets;
const ea = exposes.access;

const definition = {
zigbeeModel: ['TS0601'], // The model ID from: Device with modelID 'lumi.sens' is not supported.
model: '_TZE204_1fuxihti', // Vendor model number, look on the device for a model number
vendor: 'Tuya', // Vendor of the device (only used for documentation and startup logging)
description: 'Smart Curtain',
fromZigbee: [fz.curtain_position_analog_output,fz.xiaomi_curtain_position],
toZigbee: [],
exposes: [e.cover_position()],
};

Any kind soul here can direct me to a right path?

Thanks.

bringing up this post again for help