async def METHOD_NAME(
    self,
    command_id: Union[foundation.GeneralCommand, int, t.uint8_t],
    *args,
    manufacturer: Optional[Union[int, t.uint16_t]] = None,
    expect_reply: bool = True,
    tsn: Optional[Union[int, t.uint8_t]] = None,
    **kwargs: Any,
):
    """Override the default Cluster command."""
    self.debug(
        "Sending Cluster Command. Cluster Command is %x, Arguments are %s",
        command_id,
        args,
    )
    # move_to_level, move, move_to_level_with_on_off
    if command_id in (0x0000, 0x0001, 0x0004):
        # getting the level value
        if kwargs and "level" in kwargs:
            level = kwargs["level"]
        elif args:
            level = args[0]
        else:
            level = 0
        # convert dim values to 10-1000
        brightness = level * (1000 - 10) // 254 + 10
        self.debug(
            "Setting brightness to %s",
            brightness,
        )
        return await super().METHOD_NAME(
            TUYA_CUSTOM_LEVEL_COMMAND,
            TuyaLevelPayload(level=brightness, transtime=0),
            manufacturer=manufacturer,
            expect_reply=expect_reply,
            tsn=tsn,
        )
    return super().METHOD_NAME(
        command_id, *args, manufacturer, expect_reply, tsn, **kwargs
    )