How to modify existing quirk to work with my device?

I have an Earu Smart Circuit Breaker _TS011F TZ3000_zrm3oxsh. Unfortunately, not everything works properly (issues described here).

I found that someone wrote a custom quirk for a smart plug with the exact same model designation (_TS011F TZ3000_zrm3oxsh) that also suffers from the same issues. For some reason, this quirk custom doesn’t work with my device.

What needs to be done to adapt the custom quirk (see bellow) to work with my Smart Breaker?

Custom quirk for Smart Plug with the same model number as the Smart Breaker: Click here
The relevant code block is at the very end of the file. Code block is titled: “”“Another TS011F Tuya plug.”“”

Signature of my Earu Smart Circuit Breaker _TS011F TZ3000_zrm3oxsh

{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.FullFunctionDevice|MainsPowered|RxOnWhenIdle|AllocateAddress: 142>, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": "0x0104",
      "device_type": "0x010a",
      "input_clusters": [
        "0x0000",
        "0x0003",
        "0x0004",
        "0x0005",
        "0x0006",
        "0x0402",
        "0x0702",
        "0x0b04",
        "0xe000",
        "0xe001"
      ],
      "output_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "242": {
      "profile_id": "0xa1e0",
      "device_type": "0x0061",
      "input_clusters": [],
      "output_clusters": [
        "0x0021"
      ]
    }
  },
  "manufacturer": "_TZ3000_zrm3oxsh",
  "model": "TS011F",
  "class": "zigpy.device.Device"
}