About unsupported devices in smartlife integration

The smartlife integration shows how unsupported my device “Smart Zigbee M1 Switch” (subdevice of my tuya zigbee hub). As I read, something can be done to implement this in sensor.py. The diagnostic data that I collected from the menu is:

    "category": "wxkg",
    "function": {},
    "status_range": {
      "switch1_value": {
        "type": "Enum",
        "value": {
          "range": [
            "single_click",
            "double_click",
            "long_press"
          ]
        }
      },
      "battery_percentage": {
        "type": "Integer",
        "value": {
          "unit": "%",
          "min": 0,
          "max": 100,
          "scale": 0,
          "step": 1
        }
      }
    },
    "status": {
      "switch1_value": "single_click"
    },

Can someone help me with this?
I have no problems working on the integration (I have a lot of experience in drivers and programming languages).
Thank you!