Add support for Yoolex _TZE200_9caxna4s

Looks like Yoolex released a new smart motor for window covering that presents as TS0301. Able to pair in DeconZ but Phoscon does not recognize.

{
“schema”: “devcap1.schema.json”,
“manufacturername”: “_TZE200_9caxna4s”,
“modelid”: “TS0301”,
“product”: “TS0301”,
“sleeper”: false,
“status”: “Draft”,
“subdevices”:
}

Hello how it is in deconz ?
This device use the tuya cluster or the covering one ?

Not sure how to verify but here is a screenshot.

Lol, thx Tuya, so this devices have both, the tuya cluster AND the covering one.
Hopping for the classic one is working, and your device don"'t work natively because only router can, and your device is end device.

Can you try this DDF

{
  "schema": "devcap1.schema.json",
  "uuid": "165aea49-d5c1-4418-a479-cdad4dfe1600",
  "manufacturername": [
    "_TZB000_42ha4rsc",
    "_TZB000_yqjaollc",
    "_TZE200_9caxna4s"
  ],
  "modelid": [
    "TS030F",
    "TS030F",
    "TS0301"
  ],
  "vendor": "Tuya",
  "product": "Window blinds (TS030F)",
  "sleeper": true,
  "status": "Gold",
  "subdevices": [
    {
      "type": "$TYPE_WINDOW_COVERING_DEVICE",
      "restapi": "/lights",
      "uuid": [
        "$address.ext",
        "0x01"
      ],
      "items": [
        {
          "name": "attr/id"
        },
        {
          "name": "attr/lastannounced"
        },
        {
          "name": "attr/lastseen"
        },
        {
          "name": "attr/manufacturername"
        },
        {
          "name": "attr/modelid"
        },
        {
          "name": "attr/name"
        },
        {
          "name": "attr/swversion",
          "refresh.interval": 86400,
          "parse": {
            "fn": "zcl:attr",
            "ep": 1,
            "cl": "0x0000",
            "at": "0x0001",
            "script": "tuya_swversion.js"
          },
          "read": {
            "fn": "zcl:attr",
            "ep": 1,
            "cl": "0x0000",
            "at": "0x0001"
          }
        },
        {
          "name": "attr/type"
        },
        {
          "name": "attr/uniqueid"
        },
        {
          "name": "state/lift"
        },
        {
          "name": "state/open"
        },
        {
          "name": "state/reachable"
        }
      ]
    },
    {
      "type": "$TYPE_BATTERY_SENSOR",
      "restapi": "/sensors",
      "uuid": [
        "$address.ext",
        "0x01",
        "0x0001"
      ],
      "fingerprint": {
        "profile": "0x0104",
        "device": "0x0402",
        "endpoint": "0x01",
        "in": [
          "0x0001",
          "0x0102"
        ]
      },
      "items": [
        {
          "name": "attr/manufacturername"
        },
        {
          "name": "attr/modelid"
        },
        {
          "name": "attr/name"
        },
        {
          "name": "attr/swversion",
          "refresh.interval": 86400,
          "parse": {
            "fn": "zcl:attr",
            "ep": 1,
            "cl": "0x0000",
            "at": "0x0001",
            "script": "tuya_swversion.js"
          },
          "read": {
            "fn": "zcl:attr",
            "ep": 1,
            "cl": "0x0000",
            "at": "0x0001"
          }
        },
        {
          "name": "attr/type"
        },
        {
          "name": "attr/uniqueid"
        },
        {
          "name": "attr/lastseen"
        },
        {
          "name": "config/on"
        },
        {
          "name": "config/reachable"
        },
        {
          "name": "state/battery",
          "parse": {
            "cl": "0x0001",
            "at": "0x0021",
            "eval": "Item.val = Attr.val / 2"
          },
          "read": {
            "cl": "0x0001",
            "at": "0x0021"
          },
          "refresh.interval": 3600
        },
        {
          "name": "state/lastupdated"
        }
      ]
    }
  ],
  "bindings": [
    {
      "bind": "unicast",
      "src.ep": 1,
      "dst.ep": 1,
      "cl": "0x0102",
      "report": [
        {
          "at": "0x0008",
          "dt": "0x20",
          "min": 1,
          "max": 300,
          "change": "0x00000001"
        }
      ]
    },
    {
      "bind": "unicast",
      "src.ep": 1,
      "cl": "0x0001",
      "report": [
        {
          "at": "0x0021",
          "dt": "0x20",
          "min": 300,
          "max": 600,
          "change": "0x01"
        }
      ]
    }
  ]
}

It’s just an update of this one deconz-rest-plugin/devices/tuya/_TZB000_42ha4rsc_window_blinds.json at master · dresden-elektronik/deconz-rest-plugin · GitHub

That worked. Appreciate the support

Nice, have created the PR DDF, add support for a tuya covering Yoolex _TZE200_9caxna4s by Smanar · Pull Request #8237 · dresden-elektronik/deconz-rest-plugin · GitHub
Thx for tests.